DictationEventData Class

Definition

Describes an Input Event with voice dictation.

C++
public ref class DictationEventData : Microsoft::MixedReality::Toolkit::Input::BaseInputEventData
Inheritance
UnityEngine.EventSystems.BaseEventData
DictationEventData

Constructors

Properties

DictationAudioClip

Audio Clip of the last Dictation recording Session.

DictationResult

String result of the current dictation.

EventTime

The UTC time at which the event occurred.

(Inherited from BaseInputEventData)
InputSource

The source the input event originates from.

(Inherited from BaseInputEventData)
MixedRealityInputAction

The input action for this event.

(Inherited from BaseInputEventData)
SourceId

The id of the source the event is from, for instance the hand id.

(Inherited from BaseInputEventData)

Methods

BaseInitialize(IMixedRealityInputSource, MixedRealityInputAction)

Used to initialize/reset the event and populate the data.

(Inherited from BaseInputEventData)
Initialize(IMixedRealityInputSource, String, AudioClip)

Used to initialize/reset the event and populate the data.

Applies to

Produit Versions
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0