API reference

ITTSRuntimeCacheHandler Interface

Events

OnClipAdded : TTSClipCallback
Callback for clips being added to the runtime cache
Signature
TTSClipCallback Meta.WitAi.TTS.Interfaces.ITTSRuntimeCacheHandler.OnClipAdded
OnClipRemoved : TTSClipCallback
Callback for clips being removed from the runtime cache
Signature
TTSClipCallback Meta.WitAi.TTS.Interfaces.ITTSRuntimeCacheHandler.OnClipRemoved

Methods

AddClip ( clipData )
Method for adding a clip to the cache
Signature
bool Meta.WitAi.TTS.Interfaces.ITTSRuntimeCacheHandler.AddClip(TTSClipData clipData)
Parameters
clipData: TTSClipData
Returns
bool
GetClip ( clipID )
Method for obtaining a specific cached clip
Signature
TTSClipData Meta.WitAi.TTS.Interfaces.ITTSRuntimeCacheHandler.GetClip(string clipID)
Parameters
clipID: string
GetClips ()
Method for obtaining all cached clips
Signature
TTSClipData [] Meta.WitAi.TTS.Interfaces.ITTSRuntimeCacheHandler.GetClips()
Returns
TTSClipData []
RemoveClip ( clipID )
Method for removing a clip from the cache
Signature
void Meta.WitAi.TTS.Interfaces.ITTSRuntimeCacheHandler.RemoveClip(string clipID)
Parameters
clipID: string
Returns
void