API reference

SpeechEvents Class

Protected Fields

const string EVENT_CATEGORY_ACTIVATION_SETUP[Get]
const string EVENT_CATEGORY_ACTIVATION_INFO[Get]
const string EVENT_CATEGORY_ACTIVATION_CANCELATION[Get]
const string EVENT_CATEGORY_ACTIVATION_RESPONSE[Get]
const string EVENT_CATEGORY_AUDIO_EVENTS[Get]
const string EVENT_CATEGORY_TRANSCRIPTION_EVENTS[Get]

Fields

WitRequestOptionsEvent OnRequestOptionSetup[Get]
VoiceServiceRequestEvent OnRequestInitialized[Get]
WitRequestCreatedEvent OnRequestCreated[Get]
UnityEvent OnMinimumWakeThresholdHit[Get]
UnityEvent OnMicDataSent[Get]
UnityEvent OnStoppedListeningDueToDeactivation[Get]
UnityEvent OnStoppedListeningDueToInactivity[Get]
UnityEvent OnStoppedListeningDueToTimeout[Get]
UnityEvent OnAborting[Get]
UnityEvent OnAborted[Get]
WitTranscriptionEvent OnCanceled[Get]
WitTranscriptionEvent OnRawResponse[Get]
WitResponseEvent OnPartialResponse[Get]
WitResponseEvent OnResponse[Get]
WitErrorEvent OnError[Get]
UnityEvent OnRequestCompleted[Get]
VoiceServiceRequestEvent OnComplete[Get]
UnityEvent OnStartListening[Get]
UnityEvent OnMicStartedListening[Get]
UnityEvent OnStoppedListening[Get]
UnityEvent OnMicStoppedListening[Get]
WitMicLevelChangedEvent OnMicLevelChanged[Get]
WitMicLevelChangedEvent OnMicAudioLevelChanged[Get]
WitTranscriptionEvent OnPartialTranscription[Get]
WitTranscriptionEvent onPartialTranscription[Get]
WitTranscriptionEvent OnFullTranscription[Get]
WitTranscriptionEvent onFullTranscription[Get]

Member Functions

void AddListener
( SpeechEvents listener )
void RemoveListener
( SpeechEvents listener )

Protected Functions

virtual void SetEvents
( bool add )
void SetEvent
( Func< SpeechEvents, UnityEvent > getEvent,
bool add )
void SetEvent< T >
( Func< SpeechEvents, UnityEvent< T >> getEvent,
bool add )
void SetEvent< T, U >
( Func< SpeechEvents, UnityEvent< T, U >> getEvent,
bool add )