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

TTSSpeakerClipEvents Class

A collection of events used for speaker tts playback.
Meta::WitAi::TTS::Utilities::TTSSpeakerClipEvents extends Meta.WitAi.Speech.VoiceSpeechEvents.

Overview

Data Fields

OnInit[Get]
Initial callback as soon as the audio clip speak request is generated
Final call for a 'Speak' request that is called following a load failure, load abort, playback cancellation or playback completion
Called when audio clip load begins
Called when audio clip load is cancelled
Called when audio clip load fails due to a network or load error
Called when audio clip load successfully
Called when audio clip playback is ready
Called when audio clip playback has begun
Called when audio clip playback been cancelled
Called when audio clip is updated during streamed playback
Called when audio clip playback completed successfully

Details

Fields

TTSSpeakerClipEvent Meta.WitAi.TTS.Utilities.TTSSpeakerClipEvents.OnInit
Initial callback as soon as the audio clip speak request is generated
TTSSpeakerClipEvent Meta.WitAi.TTS.Utilities.TTSSpeakerClipEvents.OnComplete
Final call for a 'Speak' request that is called following a load failure, load abort, playback cancellation or playback completion
TTSSpeakerClipEvent Meta.WitAi.TTS.Utilities.TTSSpeakerClipEvents.OnLoadBegin
Called when audio clip load begins
TTSSpeakerClipEvent Meta.WitAi.TTS.Utilities.TTSSpeakerClipEvents.OnLoadAbort
Called when audio clip load is cancelled
TTSSpeakerClipMessageEvent Meta.WitAi.TTS.Utilities.TTSSpeakerClipEvents.OnLoadFailed
Called when audio clip load fails due to a network or load error
TTSSpeakerClipEvent Meta.WitAi.TTS.Utilities.TTSSpeakerClipEvents.OnLoadSuccess
Called when audio clip load successfully
TTSSpeakerClipEvent Meta.WitAi.TTS.Utilities.TTSSpeakerClipEvents.OnPlaybackReady
Called when audio clip playback is ready
TTSSpeakerClipEvent Meta.WitAi.TTS.Utilities.TTSSpeakerClipEvents.OnPlaybackStart
Called when audio clip playback has begun
TTSSpeakerClipMessageEvent Meta.WitAi.TTS.Utilities.TTSSpeakerClipEvents.OnPlaybackCancelled
Called when audio clip playback been cancelled
TTSSpeakerClipEvent Meta.WitAi.TTS.Utilities.TTSSpeakerClipEvents.OnPlaybackClipUpdated
Called when audio clip is updated during streamed playback
TTSSpeakerClipEvent Meta.WitAi.TTS.Utilities.TTSSpeakerClipEvents.OnPlaybackComplete
Called when audio clip playback completed successfully
Did you find this page helpful?
Thumbs up icon
Thumbs down icon