Class DictationEventData
Describes an Input Event with voice dictation.
Implements
BaseEventData
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Input
Assembly: cs.temp.dll.dll
Syntax
public class DictationEventData : BaseInputEventData, BaseEventData
Constructors
DictationEventData(EventSystem)
Declaration
public DictationEventData(EventSystem eventSystem)
Parameters
Type | Name | Description |
---|---|---|
EventSystem | eventSystem |
DictationEventData(EventSystem)
Declaration
public DictationEventData(EventSystem eventSystem)
Parameters
Type | Name | Description |
---|---|---|
EventSystem | eventSystem |
Properties
DictationAudioClip
Audio Clip of the last Dictation recording Session.
Declaration
public AudioClip DictationAudioClip { get; }
Property Value
Type | Description |
---|---|
AudioClip |
DictationAudioClip
Audio Clip of the last Dictation recording Session.
Declaration
public AudioClip DictationAudioClip { get; }
Property Value
Type | Description |
---|---|
AudioClip |
DictationResult
String result of the current dictation.
Declaration
public string DictationResult { get; }
Property Value
Type | Description |
---|---|
String |
DictationResult
String result of the current dictation.
Declaration
public string DictationResult { get; }
Property Value
Type | Description |
---|---|
String |
Methods
Initialize(IMixedRealityInputSource, String, AudioClip)
Used to initialize/reset the event and populate the data.
Declaration
public void Initialize(IMixedRealityInputSource inputSource, string dictationResult, AudioClip dictationAudioClip = null)
Parameters
Type | Name | Description |
---|---|---|
IMixedRealityInputSource | inputSource | |
String | dictationResult | |
AudioClip | dictationAudioClip |
Initialize(IMixedRealityInputSource, String, AudioClip)
Used to initialize/reset the event and populate the data.
Declaration
public void Initialize(IMixedRealityInputSource inputSource, string dictationResult, AudioClip dictationAudioClip = null)
Parameters
Type | Name | Description |
---|---|---|
IMixedRealityInputSource | inputSource | |
String | dictationResult | |
AudioClip | dictationAudioClip |
Implements
BaseEventData