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

ITTSWebHandler Interface

Member Functions

Method for determining if there are problems that will arise with performing a web request prior to doing so
Parameters
clipData
The clip data to be used for the request
Returns
Invalid error(s). It will be empty if there are none
Method for creating a new TTSClipData
Parameters
clipId
Unique clip identifier
textToSpeak
Text to be spoken
voiceSettings
Settings for how the clip should sound during playback.
diskCacheSettings
If and how this clip should be cached.
Decode a response node into text to be spoken or a specific voice setting
Parameters
responseNode
Parsed data that includes text to be spoken and voice settings
textToSpeak
The text to be spoken output
voiceSettings
The output for voice settings
Returns
True if decode was successful
Streams audio from a web service and returns an error if applicable.
Parameters
clipData
Information about the clip being requested.
onReady
Callback on request is ready for playback.
Performs a check to determine if a file is cached to disk or not
Parameters
diskPath
The path to be checked
Returns
Returns an error if the path cannot be found
Downloads audio from a web service and returns an error if applicable.
Parameters
clipData
Information about the clip being requested.
diskPath
The specific disk path of the file.
onReady
Callback on request is ready for playback.
Method for performing a web download request
Parameters
clipData
Clip request data
diskPath
The specific disk path the file should be downloaded to
Cancels any request for a specific clip
Did you find this page helpful?
Thumbs up icon
Thumbs down icon