string | TextToSpeak[Get] |
Dictionary< string, string > | TtsData[Get] |
FileType[Get] | |
bool | Stream[Get] |
bool | UseEvents[Get] |
WitTTSVRequest ( IWitRequestConfiguration configuration, string requestId, string textToSpeak, Dictionary< string, string > ttsData, TTSWitAudioType audioFileType, bool audioStream, bool useEvents, RequestProgressDelegate onDownloadProgress, RequestFirstResponseDelegate onFirstResponse ) Constructor for wit based text-to-speech VRequests | |
string | RequestStream ( AudioSampleDecodeDelegate onSamplesDecoded, AudioJsonDecodeDelegate onJsonDecoded, RequestCompleteDelegate< bool > onComplete ) Performs a wit tts request that streams audio data into the provided audio clip stream. |
string | Performs a wit tts request that streams audio data into the a specific path on disk. |
override Dictionary< string, string > | GetHeaders ( ) |
static string | Method for determining if there are problems that will arise with performing a web request prior to doing so |
string Meta.WitAi.Requests.WitTTSVRequest.TextToSpeak |
---|
No description available.
|
Dictionary<string, string> Meta.WitAi.Requests.WitTTSVRequest.TtsData |
---|
No description available.
|
TTSWitAudioType Meta.WitAi.Requests.WitTTSVRequest.FileType |
---|
No description available.
|
bool Meta.WitAi.Requests.WitTTSVRequest.Stream |
---|
No description available.
|
bool Meta.WitAi.Requests.WitTTSVRequest.UseEvents |
---|
No description available.
|
Meta.WitAi.Requests.WitTTSVRequest.WitTTSVRequest ( IWitRequestConfiguration configuration, string requestId, string textToSpeak, Dictionary< string, string > ttsData, TTSWitAudioType audioFileType, bool audioStream, bool useEvents, RequestProgressDelegate onDownloadProgress, RequestFirstResponseDelegate onFirstResponse ) |
---|
Constructor for wit based text-to-speech VRequests Parameters configuration The configuration interface to be used requestIdA unique identifier that can be used to track the request textToSpeakThe text to be spoken by the request ttsDataThe text parameters used for the request audioFileTypeThe expected audio file type of the request audioStreamWhether the audio should be played while streaming or should wait until completion. useEventsWhether or not events should be requested with this audio request onDownloadProgressThe callback for progress related to downloading onFirstResponseThe callback for the first response of data from a request |
string Meta.WitAi.Requests.WitTTSVRequest.RequestStream ( AudioSampleDecodeDelegate onSamplesDecoded, AudioJsonDecodeDelegate onJsonDecoded, RequestCompleteDelegate< bool > onComplete ) |
---|
Performs a wit tts request that streams audio data into the provided audio clip stream. Parameters onSamplesDecoded Called one or more times as audio samples are decoded. onJsonDecodedCalled one or more times as json data is decoded. onCompleteCalled when the audio request has completed Returns An error string if applicable |
string Meta.WitAi.Requests.WitTTSVRequest.RequestDownload ( string downloadPath, RequestCompleteDelegate< bool > onComplete ) |
---|
Performs a wit tts request that streams audio data into the a specific path on disk. Parameters downloadPath Path to download the audio clip to onCompleteThe callback when the clip is either completely downloaded or failed to download Returns An error string if applicable |
override Dictionary<string, string> Meta.WitAi.Requests.WitTTSVRequest.GetHeaders ( ) |
---|
No description available.
|
static string Meta.WitAi.Requests.WitTTSVRequest.GetWebErrors ( string textToSpeak, IWitRequestConfiguration configuration ) |
---|
Method for determining if there are problems that will arise with performing a web request prior to doing so |