Class WindowsSpeechInputProvider
Namespace: Microsoft.MixedReality.Toolkit.Windows.Input
Assembly: cs.temp.dll.dll
Syntax
public class WindowsSpeechInputProvider : BaseInputDeviceManager, IMixedRealitySpeechSystem, IMixedRealityCapabilityCheck
Constructors
WindowsSpeechInputProvider(IMixedRealityInputSystem, String, UInt32, BaseMixedRealityProfile)
Constructor.
Declaration
public WindowsSpeechInputProvider(IMixedRealityInputSystem inputSystem, string name = null, uint priority = default(uint), BaseMixedRealityProfile profile = null)
Parameters
Type | Name | Description |
---|---|---|
IMixedRealityInputSystem | inputSystem | The IMixedRealityInputSystem instance that receives data from this provider. |
String | name | Friendly name of the service. |
UInt32 | priority | Service priority. Used to determine order of instantiation. |
BaseMixedRealityProfile | profile | The service's configuration profile. |
WindowsSpeechInputProvider(IMixedRealityServiceRegistrar, IMixedRealityInputSystem, String, UInt32, BaseMixedRealityProfile)
Constructor.
Declaration
[Obsolete("This constructor is obsolete (registrar parameter is no longer required) and will be removed in a future version of the Microsoft Mixed Reality Toolkit.")]
public WindowsSpeechInputProvider(IMixedRealityServiceRegistrar registrar, IMixedRealityInputSystem inputSystem, string name = null, uint priority = default(uint), BaseMixedRealityProfile profile = null)
Parameters
Type | Name | Description |
---|---|---|
IMixedRealityServiceRegistrar | registrar | The IMixedRealityServiceRegistrar instance that loaded the service. |
IMixedRealityInputSystem | inputSystem | The IMixedRealityInputSystem instance that receives data from this provider. |
String | name | Friendly name of the service. |
UInt32 | priority | Service priority. Used to determine order of instantiation. |
BaseMixedRealityProfile | profile | The service's configuration profile. |
Fields
InputSource
The Input Source for Windows Speech Input.
Declaration
public IMixedRealityInputSource InputSource
Field Value
Type | Description |
---|---|
IMixedRealityInputSource |
Properties
IsRecognitionActive
Declaration
public bool IsRecognitionActive { get; }
Property Value
Type | Description |
---|---|
Boolean |
RecognitionConfidenceLevel
The minimum confidence level for the recognizer to fire an event.
Declaration
public RecognitionConfidenceLevel RecognitionConfidenceLevel { get; set; }
Property Value
Type | Description |
---|---|
RecognitionConfidenceLevel |
Methods
CheckCapability(MixedRealityCapability)
Checks to see if one or more registered data providers supports the requested capability on the current platform.
Declaration
public bool CheckCapability(MixedRealityCapability capability)
Parameters
Type | Name | Description |
---|---|---|
MixedRealityCapability | capability | The capability to check. |
Returns
Type | Description |
---|---|
Boolean | True if the capability is supported, false otherwise. |
StartRecognition()
Declaration
public void StartRecognition()
StopRecognition()
Declaration
public void StopRecognition()