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

WitWebSocketTtsRequest Class

Performs a single authentication request

Properties

Accessor for text to speak
Accessor for voice setting values
Accessor for audio type
Accessor for whether or not events should be requested
If set, downloads decoded audio and events to this path. Should include directory and file name without extension.

Fields

Callback for sample received from service
Callback for event json received from service

Member Functions

Generates encoded chunk and applies reference data for all parameters
Handles the download, decode and callbacks for audio & audio event data
Parameters
jsonData
Decoded json data object.
binaryData
Decoded binary data chunk which may be null or empty.
Provides information of all parameters

Protected Functions

Method called for first response handling to mark download begin, setup file strean & perform first response callback on main thread.
Callback when last chunk has been downloaded
Did you find this page helpful?
Thumbs up icon
Thumbs down icon