Editar

Partilhar via


SpeechKeywordEvents Class

Definition

The event configuration for the SpeechKeyword InteractionState.

public ref class SpeechKeywordEvents : Microsoft::MixedReality::Toolkit::Experimental::InteractiveElement::BaseInteractionEventConfiguration
public class SpeechKeywordEvents : Microsoft.MixedReality.Toolkit.Experimental.InteractiveElement.BaseInteractionEventConfiguration
type SpeechKeywordEvents = class
    inherit BaseInteractionEventConfiguration
Public Class SpeechKeywordEvents
Inherits BaseInteractionEventConfiguration
Inheritance

Constructors

SpeechKeywordEvents()

Fields

OnGlobalChanged

A Unity event used to track whether or not the Global property has changed.

Properties

EventReceiver

The associated runtime event receiver for this event configuration.

(Inherited from BaseInteractionEventConfiguration)
Global

Whether or not to register the IMixedRealitySpeechHandler for global input. If Global is true, then events in the SpeechKeyword state will be fired without requiring an object to be in focus.

Keywords

List of keywords and Unity Events for the Speech input handler to listen for.

OnAnySpeechKeywordRecognized

A Unity event with SpeechEventData. This event will be fired when any of the keywords registered in the Speech input Configuration Profile are recognized.

StateName

The name of the state associated with this event configuration.

(Inherited from BaseInteractionEventConfiguration)

Applies to