DictationSubsystem 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.
A Unity subsystem that enables dictation.
[UnityEngine.Scripting.Preserve]
public class DictationSubsystem : MixedReality.Toolkit.Subsystems.MRTKSubsystem<MixedReality.Toolkit.Subsystems.DictationSubsystem,MixedReality.Toolkit.Subsystems.DictationSubsystemDescriptor,MixedReality.Toolkit.Subsystems.DictationSubsystem.Provider>, MixedReality.Toolkit.Subsystems.IDictationSubsystem
[<UnityEngine.Scripting.Preserve>]
type DictationSubsystem = class
inherit MRTKSubsystem<DictationSubsystem, DictationSubsystemDescriptor, DictationSubsystem.Provider>
interface IDictationSubsystem
interface ISubsystem
Public Class DictationSubsystem
Inherits MRTKSubsystem(Of DictationSubsystem, DictationSubsystemDescriptor, DictationSubsystem.Provider)
Implements IDictationSubsystem
- Inheritance
-
UnityEngine.SubsystemsImplementation.SubsystemWithProvider<TSubsystem,TSubsystemDescriptor,TProvider>DictationSubsystem
- Derived
- Attributes
-
UnityEngine.Scripting.PreserveAttribute
- Implements
-
IDictationSubsystem UnityEngine.ISubsystem
Constructors
| Name | Description |
|---|---|
| DictationSubsystem() |
Initializes a new instance of the DictationSubsystem class. |
Methods
| Name | Description |
|---|---|
| OnFixedUpdate() |
Called in response to the lifecycle manager fix update event function being called, if this subsystem is running. (Inherited from MRTKSubsystem<TSubsystem,TSubsystemDescriptor,TProvider>) |
| OnLateUpdate() |
Called in response to the lifecycle manager late update event function being called, if this subsystem is running. (Inherited from MRTKSubsystem<TSubsystem,TSubsystemDescriptor,TProvider>) |
| OnUpdate() |
Called in response to the lifecycle manager update event function being called, if this subsystem is running. (Inherited from MRTKSubsystem<TSubsystem,TSubsystemDescriptor,TProvider>) |
| Register(DictationSubsystemCinfo) |
Registers a dication subsystem implementation based on the given subsystem parameters. |
| StartDictation() |
Start dictation with default configurations. There may be other overloads with parameters to specify configurations depending on the implementation. |
| StopDictation() |
Stop dictation. |
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. |
Explicit Interface Implementations
| Name | Description |
|---|---|
| IMRTKManagedSubsystem.FixedUpdate() | (Inherited from MRTKSubsystem<TSubsystem,TSubsystemDescriptor,TProvider>) |
| IMRTKManagedSubsystem.LateUpdate() | (Inherited from MRTKSubsystem<TSubsystem,TSubsystemDescriptor,TProvider>) |
| IMRTKManagedSubsystem.Update() | (Inherited from MRTKSubsystem<TSubsystem,TSubsystemDescriptor,TProvider>) |