Class SpeechInputHandler
Inheritance
SpeechInputHandler
Implements
MonoBehaviour
IEventSystemHandler
Assembly: cs.temp.dll.dll
public class SpeechInputHandler : BaseInputHandler, MonoBehaviour, IMixedRealitySpeechHandler, IMixedRealityBaseInputHandler, IEventSystemHandler
Properties
The keywords to be recognized and optional keyboard shortcuts.
Declaration
public KeywordAndResponse[] Keywords { get; }
Property Value
The keywords to be recognized and optional keyboard shortcuts.
Declaration
public KeywordAndResponse[] Keywords { get; }
Property Value
Tooltip prefab used to display confirmation label. Optional.
Declaration
public SpeechConfirmationTooltip SpeechConfirmationTooltipPrefab { get; set; }
Property Value
Type |
Description |
SpeechConfirmationTooltip |
|
Tooltip prefab used to display confirmation label. Optional.
Declaration
public SpeechConfirmationTooltip SpeechConfirmationTooltipPrefab { get; set; }
Property Value
Type |
Description |
SpeechConfirmationTooltip |
|
Methods
Declaration
public void AddResponse(string keyword, UnityAction action)
Parameters
Type |
Name |
Description |
String |
keyword |
|
UnityAction |
action |
|
Declaration
public void AddResponse(string keyword, UnityAction action)
Parameters
Type |
Name |
Description |
String |
keyword |
|
UnityAction |
action |
|
Declaration
protected override void RegisterHandlers()
Overrides
Declaration
protected override void RegisterHandlers()
Overrides
Declaration
public void RemoveResponse(string keyword, UnityAction action)
Parameters
Type |
Name |
Description |
String |
keyword |
|
UnityAction |
action |
|
Declaration
public void RemoveResponse(string keyword, UnityAction action)
Parameters
Type |
Name |
Description |
String |
keyword |
|
UnityAction |
action |
|
Declaration
protected override void Start()
Overrides
Declaration
protected override void Start()
Overrides
Declaration
protected override void UnregisterHandlers()
Overrides
Declaration
protected override void UnregisterHandlers()
Overrides
Explicit Interface Implementations
Declaration
void IMixedRealitySpeechHandler.OnSpeechKeywordRecognized(SpeechEventData eventData)
Parameters
Declaration
void IMixedRealitySpeechHandler.OnSpeechKeywordRecognized(SpeechEventData eventData)
Parameters
Implements
MonoBehaviour
IEventSystemHandler