29 lines
954 B
C#
29 lines
954 B
C#
// Copyright (c) Microsoft Corporation.
|
|
// Licensed under the MIT License.
|
|
|
|
namespace Microsoft.MixedReality.Toolkit.Input
|
|
{
|
|
/// <summary>
|
|
/// Mixed Reality Toolkit controller definition, used to manage a specific controller type
|
|
/// </summary>
|
|
public interface IMixedRealitySpeechSystem : IMixedRealityInputDeviceManager
|
|
{
|
|
/// <summary>
|
|
/// Query whether or not the speech system is active
|
|
/// </summary>
|
|
bool IsRecognitionActive { get; }
|
|
|
|
/// <summary>
|
|
/// Make sure the keyword recognizer is on, then stop it.
|
|
/// Otherwise, leave it alone because it's already in the desired state.
|
|
/// </summary>
|
|
void StartRecognition();
|
|
|
|
/// <summary>
|
|
/// Make sure the keyword recognizer is on, then stop it.
|
|
/// Otherwise, leave it alone because it's already in the desired state.
|
|
/// </summary>
|
|
void StopRecognition();
|
|
}
|
|
}
|