Language
Edit

KeywordRecognitionSubsystem.Provider Class

Definition

Interface for providing recognition functionality for the implementation.

public abstract class KeywordRecognitionSubsystem.Provider : MixedReality.Toolkit.Subsystems.MRTKSubsystemProvider<MixedReality.Toolkit.Subsystems.KeywordRecognitionSubsystem>, MixedReality.Toolkit.Subsystems.IKeywordRecognitionSubsystem, UnityEngine.ISubsystem
type KeywordRecognitionSubsystem.Provider = class
    inherit MRTKSubsystemProvider<KeywordRecognitionSubsystem>
    interface IKeywordRecognitionSubsystem
    interface ISubsystem
Public MustInherit Class KeywordRecognitionSubsystem.Provider
Inherits MRTKSubsystemProvider(Of KeywordRecognitionSubsystem)
Implements IKeywordRecognitionSubsystem, ISubsystem
Inheritance
UnityEngine.SubsystemsImplementation.SubsystemProvider<TSubsystem>
KeywordRecognitionSubsystem.Provider
Implements
IKeywordRecognitionSubsystem UnityEngine.ISubsystem

Constructors

Name Description
KeywordRecognitionSubsystem.Provider()

Fields

Name Description
keywordDictionary

The dictionary storing the current keywords and their associated actions.

Methods

Name Description
CreateOrGetEventForKeyword(String)

Add or update a keyword to recognize.

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>)
GetAllKeywords()

Get a read-only reference to the all keywords that are currently registered with the recognizer.

LateUpdate()

Called by the subsystem in response to the lifecycle manager's LateUpdate method being called.

(Inherited from MRTKSubsystemProvider<TSubsystem>)
RemoveAllKeywords()

Remove all keywords to recognize.

RemoveKeyword(String)

Remove a keyword to recognize.

Start()

Starts an instance of a Unity subsystem.

(Inherited from MRTKSubsystemProvider<TSubsystem>)
Stop()

Stops an instance of a Unity subsystem.

(Inherited from MRTKSubsystemProvider<TSubsystem>)
Update()

Called by the subsystem in response to the lifecycle manager's Update method being called.

(Inherited from MRTKSubsystemProvider<TSubsystem>)

Applies to