DiskStreamEvents[Get] All events for streaming from the disk cache | |
The default cache settings |
string | GetDiskCachePath ( TTSClipData clipData ) A method for obtaining the path to a specific cache clip |
bool | ShouldCacheToDisk ( TTSClipData clipData ) Whether or not the clip data should be cached on disk |
void | Performs a check to determine if a file is cached to disk or not |
void | Method for streaming from disk cache |
void | CancelDiskCacheStream ( TTSClipData clipData ) Method for cancelling a running cache load request |
TTSStreamEvents Meta.WitAi.TTS.Interfaces.ITTSDiskCacheHandler.DiskStreamEvents |
---|
All events for streaming from the disk cache |
TTSDiskCacheSettings Meta.WitAi.TTS.Interfaces.ITTSDiskCacheHandler.DiskCacheDefaultSettings |
---|
The default cache settings |
string Meta.WitAi.TTS.Interfaces.ITTSDiskCacheHandler.GetDiskCachePath ( TTSClipData clipData ) |
---|
A method for obtaining the path to a specific cache clip Parameters clipData Clip request data Returns Returns the clip's cache path |
bool Meta.WitAi.TTS.Interfaces.ITTSDiskCacheHandler.ShouldCacheToDisk ( TTSClipData clipData ) |
---|
Whether or not the clip data should be cached on disk Parameters clipData Clip request data Returns Returns true if should cache |
void Meta.WitAi.TTS.Interfaces.ITTSDiskCacheHandler.CheckCachedToDisk ( TTSClipData clipData, Action< TTSClipData, bool > onCheckComplete ) |
---|
Performs a check to determine if a file is cached to disk or not Parameters clipData Clip request data Returns Returns true if currently on disk (Except for Android Streaming Assets) |
void Meta.WitAi.TTS.Interfaces.ITTSDiskCacheHandler.StreamFromDiskCache ( TTSClipData clipData, Action< TTSClipData, float > onProgress ) |
---|
Method for streaming from disk cache Parameters clipData Clip request data onProgressCallbacks for stream progress |
void Meta.WitAi.TTS.Interfaces.ITTSDiskCacheHandler.CancelDiskCacheStream ( TTSClipData clipData ) |
---|
Method for cancelling a running cache load request Parameters clipData Clip request data |