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

DictationService Class

Protected Fields

summary> Internal events used to report telemetry. These events are reserved for internal use only and should not be used for any other purpose.
TelemetryEvents telemetryEvents[Get]

Fields

Returns true if the service is actively communicating with Wit.ai during an Activation. The mic may or may not still be active while this is true.
A subset of events around collection of audio data
A subset of events around receiving transcriptions

Properties

Gets/Sets a custom transcription provider. This can be used to replace any built in asr with an on device model or other provided source
Returns true if this voice service is currently reading data from the microphone
DictationEvents DictationEvents[Get]
TelemetryEvents TelemetryEvents[Get]
Returns true if the audio input should be read in an activation

Protected Functions

If applicable, get all speech events
virtual void Awake ( )

Member Functions

Activate the microphone and send data for NLU processing. Includes optional additional request parameters like dynamic entities and maximum results.
Activate the microphone and send data for NLU processing. Includes optional additional request parameters like dynamic entities and maximum results.
Parameters
requestOptions
Additional options such as custom request id
Activate the microphone and send data for NLU processing. Includes optional additional request parameters like dynamic entities and maximum results.
Parameters
requestOptions
Additional options such as custom request id
Activate the microphone and send data for NLU processing. Includes optional additional request parameters like dynamic entities and maximum results.
Parameters
requestOptions
Additional options such as custom request id
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. Includes optional additional request parameters like dynamic entities and maximum results.
Activate the microphone and send data for NLU processing immediately without waiting for sound/speech from the user to begin. Includes optional additional request parameters like dynamic entities and maximum results.
Parameters
requestOptions
Additional options such as custom request id
Activate the microphone and send data for NLU processing immediately without waiting for sound/speech from the user to begin. Includes optional additional request parameters like dynamic entities and maximum results.
Parameters
requestOptions
Additional options such as custom request id
Activate the microphone and send data for NLU processing immediately without waiting for sound/speech from the user to begin. Includes optional additional request parameters like dynamic entities and maximum results.
Parameters
requestOptions
Additional options such as custom request id
requestEvents
Events specific to the request's lifecycle
Cancels the current transcription. No FullTranscription event will fire.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon