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

WitRequestSettings Class

A static script for obtaining header information related to wit requests

Public Statics

Uri customization delegate
Header customization delegate
User agent customization delegate

Properties

The default client user id sent with locally generated requests if not overriden by request options.

Object Data for package-static-func

Returns a string of all bytes within an array
Returns a string of a substring of bytes within an array

Static Member Functions

Get custom wit uri using a specific path & query parameters
Obtain headers to be used with every wit service
Method for determining if there are problems that will arise with performing a tts web request prior to doing so
Method for determining if stream is supported
Method for obtaining audio Mime string for TTSWitAudioType
Method for obtaining audio Mime string for TTSWitAudioType
Instantiate an audio decoder based on the wit audio type that allows for decoding directly from wit.
Parameters
witAudioType
The audio type supported by wit
Instantiate an audio decoder based on the wit audio type that allows for decoding directly from wit.
Parameters
witAudioType
The audio type supported by wit
onEventsDecoded
If this delegate is provided then the feed will be decoded for audio event data as well.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon