SpeechEventData Class

Definition

Describes an input event that involves keyword recognition.

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

Constructors

Properties

Command

The text that was recognized.

Confidence

A measure of correct recognition certainty.

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)
PhraseDuration

The time it took for the phrase to be uttered.

PhraseStartTime

The moment in UTC time when uttering of the phrase began.

SourceId

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

(Inherited from BaseInputEventData)

Methods

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