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

TTSClipData Class

Fields

string textToSpeak[Get]
string clipID[Get]
AudioType audioType[Get]
TTSVoiceSettings voiceSettings[Get]
TTSDiskCacheSettings diskCacheSettings[Get]
bool queryStream[Get]
Dictionary< string, string > queryParameters[Get]
TTSClipLoadState loadState[Get]
float loadProgress[Get]
Amount of time from request begin to ready callback in seconds
Amount of time from request begin to complete callback in seconds
Action< TTSClipData, TTSClipLoadState > onStateChange[Get]
Whether or not this tts clip data is requesting event data with tts stream.
The file extension to be used for this specific file type. Includes the period.
A callback when clip stream is ready Returns an error if there was an issue
A callback when clip has downloaded successfully Returns an error if there was an issue
Called when a script has queued playback with this clip
Called when a script has began playback with this clip
Called when a script has completed playback with this clip

Properties

Unique request id used for tracking & logging
IAudioClipStream clipStream[Get]
AudioClip clip[Get]
The currently set tts events
Any error that occurs during the load process
Task that returns when ready for playback
Task that returns when complete

Member Functions

Compare clips if possible
Compare clip ids
Compare clip ids
Get hash code
Obtains all clip data via formatting
Did you find this page helpful?
Thumbs up icon
Thumbs down icon