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

VoiceSDKImpl Class

Fields

Action OnServiceNotAvailableEvent[Get]
bool PlatformSupportsWit[Get]
bool Active[Get]
bool IsRequestActive[Get]
bool MicActive[Get]

Properties

bool UsePlatformIntegrations[Get]
HashSet< VoiceServiceRequest > Requests[Get]
ITranscriptionProvider TranscriptionProvider[Get]
VoiceEvents VoiceEvents[Get]
TelemetryEvents TelemetryEvents[Get]

Member Functions

VoiceSDKImpl
( IVoiceService baseVoiceService )
void SetRuntimeConfiguration
( WitRuntimeConfiguration configuration )
Whether or not this service can listen to audio
Returns
True if audio can be listened to
Whether or not this service can perform requests
Returns
True if a request can be sent
virtual override void Connect
( string version )
virtual override void Disconnect ( )
Send text data for NLU processing with custom request options & events.
Parameters
text
Text to be used for NLU processing
requestOptions
Additional options such as dynamic entities
requestEvents
Events specific to the request's lifecycle
Activate the microphone and wait for threshold and then send data
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 with custom request options.
Parameters
requestOptions
Additional options such as dynamic entities
requestEvents
Events specific to the request's lifecycle
Stop listening and submit the collected microphone data for processing.
Stop listening and abort any requests that may be active without waiting for a response.
Deactivate mic & abort a specific request
void OnServiceNotAvailable
( string error,
string message )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon