blob: 233cc84548e700b5126535d8fb2b9bfc8ae7d3a4 [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.
};