bool | Active[Get] Returns true if this voice service is currently active and listening with the mic |
Send text data for NLU processing with custom request options & events. | |
Activate the microphone and wait for threshold and then send data | |
Activate the microphone and send data for NLU processing with custom request options. | |
void | Deactivate ( ) Stop listening and submit the collected microphone data for processing. |
void | Stop listening and abort any requests that may be active without waiting for a response. |
void | DeactivateAndAbortRequest ( VoiceServiceRequest request ) Deactivate mic & abort a specific request |
| bool Meta.WitAi.IVoiceActivationHandler.Active |
|---|
Returns true if this voice service is currently active and listening with the mic |
| VoiceServiceRequest Meta.WitAi.IVoiceActivationHandler.Activate ( string text, WitRequestOptions requestOptions, VoiceServiceRequestEvents requestEvents ) |
|---|
Send text data for NLU processing with custom request options & events. Parameters text Text to be used for NLU processing requestOptionsAdditional options such as dynamic entities requestEventsEvents specific to the request's lifecycle |
| VoiceServiceRequest Meta.WitAi.IVoiceActivationHandler.Activate ( WitRequestOptions requestOptions, VoiceServiceRequestEvents requestEvents ) |
|---|
Activate the microphone and wait for threshold and then send data Parameters requestOptions Additional options such as dynamic entities requestEventsEvents specific to the request's lifecycle |
| VoiceServiceRequest Meta.WitAi.IVoiceActivationHandler.ActivateImmediately ( WitRequestOptions requestOptions, VoiceServiceRequestEvents requestEvents ) |
|---|
Activate the microphone and send data for NLU processing with custom request options. Parameters requestOptions Additional options such as dynamic entities requestEventsEvents specific to the request's lifecycle |
| void Meta.WitAi.IVoiceActivationHandler.Deactivate ( ) |
|---|
Stop listening and submit the collected microphone data for processing. |
| void Meta.WitAi.IVoiceActivationHandler.DeactivateAndAbortRequest ( ) |
|---|
Stop listening and abort any requests that may be active without waiting for a response. |
| void Meta.WitAi.IVoiceActivationHandler.DeactivateAndAbortRequest ( VoiceServiceRequest request ) |
|---|
Deactivate mic & abort a specific request |