blob: dac76df2fcd8053385c1f8ec81c0e27623eab092 [file] [log] [blame]
// Copyright 2016 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
library fuchsia.modular;
enum InputType {
TEXT = 0;
SPEECH = 1;
};
struct UserInput {
InputType type = TEXT;
string text;
// Future evolutions of this struct may include alternate data formats, at
// which point I'd like to rename text to string_value and make it optional.
};