DictationSubsystem.Provider Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Interface for providing recognition functionality for the implementation.
public abstract class DictationSubsystem.Provider : MixedReality.Toolkit.Subsystems.MRTKSubsystemProvider<MixedReality.Toolkit.Subsystems.DictationSubsystem>, MixedReality.Toolkit.Subsystems.IDictationSubsystem, UnityEngine.ISubsystem
type DictationSubsystem.Provider = class
inherit MRTKSubsystemProvider<DictationSubsystem>
interface IDictationSubsystem
interface ISubsystem
Public MustInherit Class DictationSubsystem.Provider
Inherits MRTKSubsystemProvider(Of DictationSubsystem)
Implements IDictationSubsystem, ISubsystem
- Inheritance
-
UnityEngine.SubsystemsImplementation.SubsystemProvider<TSubsystem>DictationSubsystem.Provider
- Implements
-
IDictationSubsystem UnityEngine.ISubsystem
Constructors
| Name | Description |
|---|---|
| DictationSubsystem.Provider() | |
Methods
| Name | Description |
|---|---|
| Destroy() |
Destroys this instance of a Unity subsystem. (Inherited from MRTKSubsystemProvider<TSubsystem>) |
| FixedUpdate() |
Called by the subsystem in response to the lifecycle manager's FixedUpdate method being called. (Inherited from MRTKSubsystemProvider<TSubsystem>) |
| LateUpdate() |
Called by the subsystem in response to the lifecycle manager's LateUpdate method being called. (Inherited from MRTKSubsystemProvider<TSubsystem>) |
| OnRecognitionFaulted(DictationSessionEventArgs) |
Trigger for the RecognitionFaulted Action. |
| OnRecognitionFinished(DictationSessionEventArgs) |
Trigger for the RecognitionFinished Action. |
| OnRecognized(DictationResultEventArgs) |
Trigger for the Recognized Action. |
| OnRecognizing(DictationResultEventArgs) |
Trigger for the Recognizing Action. |
| Start() |
Starts an instance of a Unity subsystem. (Inherited from MRTKSubsystemProvider<TSubsystem>) |
| StartDictation() |
Start dictation with default configurations. There may be other overloads with parameters to specify configurations depending on the implementation. |
| Stop() |
Stops an instance of a Unity subsystem. (Inherited from MRTKSubsystemProvider<TSubsystem>) |
| StopDictation() |
Stop dictation. |
| Update() |
Called by the subsystem in response to the lifecycle manager's Update method being called. (Inherited from MRTKSubsystemProvider<TSubsystem>) |
Events
| Name | Description |
|---|---|
| RecognitionFaulted |
Action triggered when the recognition is faulted (i.e. error occurred). |
| RecognitionFinished |
Action triggered when the recognition session is finished. |
| Recognized |
Action triggered when the recognizer recognized the input and returns a final result. |
| Recognizing |
Action triggered when the recognizer is processing the input and has a tentative result. |