Version: 2017.2

PhraseRecognizer

class in UnityEngine.Windows.Speech

Cambiar al Manual

Descripción

A common base class for both keyword recognizer and grammar recognizer.

Phrase recognizer is the smallest speech recognition unit that can be individually started and stopped. Typically, you should create all your phrase recognizers at the start of the scene, and the start and stop them on demand as needed.

Variables

IsRunningTells whether the phrase recognizer is listening for phrases.

Funciones Públicas

DisposeDisposes the resources used by phrase recognizer.
StartMakes the phrase recognizer start listening to phrases.
StopStops the phrase recognizer from listening to phrases.

Events

OnPhraseRecognizedEvent that gets fired when the phrase recognizer recognizes a phrase.

Delegados

PhraseRecognizedDelegateDelegate for OnPhraseRecognized event.