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

Wit Class

Properties

WitRuntimeConfiguration RuntimeConfiguration[Get]
override ITranscriptionProvider TranscriptionProvider[Get]

Fields

override bool Active[Get]
override bool IsRequestActive[Get]
override bool MicActive[Get]

Protected Fields

override bool ShouldSendMicData[Get]

Member Functions

Check for error that will occur if attempting to send data
Returns
Returns an error if send will not be allowed.
Check for error that will occur if attempting to activate audio
Returns
Returns an error audio activation should not be allowed.
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
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

virtual override void Awake ( )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon