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

WitTTSVRequest Class

Extends WitVRequest
A Wit VRequest subclass for handling requests

Properties

string TextToSpeak[Get]
Dictionary< string, string > TtsParameters[Get]
TTSWitAudioType FileType[Get]
bool Stream[Get]
bool UseEvents[Get]

Member Functions

Constructor for wit based text-to-speech VRequests
Parameters
configuration
The configuration interface to be used
requestId
A unique identifier that can be used to track the request
Requests stream from a disk location
Parameters
onSamplesDecoded
Called one or more times as audio samples are decoded.
onJsonDecoded
Called one or more times as json data is decoded.
Performs a wit tts request that streams audio data into the provided audio clip stream.
Parameters
onSamplesDecoded
Called one or more times as audio samples are decoded.
onJsonDecoded
Called one or more times as json data is decoded.
Performs a wit tts request that streams audio data into the a specific path on disk.
Parameters
downloadPath
Path to download the audio clip to

Protected Functions

override Dictionary< string, string > GetHeaders ( )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon