API reference
API reference
Select your platform
No SDKs available
No versions available

AppVoiceExperience Class

Properties

WitRuntimeConfiguration RuntimeConfiguration[Get]
override ITranscriptionProvider TranscriptionProvider[Get]
override bool UsePlatformIntegrations[Get]

Fields

WitConfiguration Configuration[Get]
override bool Active[Get]
override bool IsRequestActive[Get]
override bool MicActive[Get]
bool HasPlatformIntegrations[Get]
bool EnableConsoleLogging[Get]

Events

Action OnInitialized

Protected Fields

override bool ShouldSendMicData[Get]

Member Functions

Whether a voice service request can be sent or not
Send text data for NLU processing with custom request options.
Parameters
text
Text to be used for NLU processing
requestOptions
Additional options such as dynamic entities
requestEvents
Events specific to the request's lifecycle
Whether an audio request can be started or not
Check for error that will occur if attempting to activate audio
Returns
Returns an error audio activation should not be allowed.
Start listening for sound or speech from the user and start sending data to Wit.ai once sound or speech has been detected.
Parameters
requestOptions
Additional options such as dynamic entities
requestEvents
Events specific to the request's lifecycle
Activate the microphone and send data for NLU processing immediately without waiting for sound/speech from the user to begin.
Parameters
requestOptions
Additional options such as dynamic entities
requestEvents
Events specific to the request's lifecycle
Deactivate all requests
Deactivate and abort all locally originated requests

Protected Functions

On enable, begin watching for request initialized callbacks
On enable, stop watching for request initialized callbacks
virtual override void OnRequestInit
( VoiceServiceRequest request )
virtual override void OnRequestStartListening
( VoiceServiceRequest request )
virtual override void OnRequestStopListening
( VoiceServiceRequest request )
virtual override void OnRequestSend
( VoiceServiceRequest request )
virtual override void OnRequestPartialTranscription
( VoiceServiceRequest request,
string transcription )
virtual override void OnRequestFullTranscription
( VoiceServiceRequest request,
string transcription )
virtual override void OnRequestSuccess
( VoiceServiceRequest request )
virtual override void OnRequestComplete
( VoiceServiceRequest request )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon