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

WitInfoVRequest Class

Extends WitVRequest, IWitInfoVRequest

Member Functions

Constructor for wit based info VRequests
Parameters
configuration
The configuration interface to be used
useServerToken
Editor only option to use server token instead of client token
onDownloadProgress
The callback for progress related to downloading
onFirstResponse
The callback for the first response of data from a request
A request to obtain the current app id by grabbing multiple apps & using the app id
Parameters
onComplete
Returns string with the specified app id if possible.
Returns
Returns false if request cannot be made
A request to obtain all apps available & return the current app id
Returns
Returns the specified app id
Get all wit app data
Parameters
limit
The maximum amount of apps to be returned
offset
The index offset for apps to be returned
onComplete
Callback on completion
Returns
Returns false if request cannot be made
Get all wit app data asynchronously
Parameters
limit
The maximum amount of apps to be returned
offset
The index offset for apps to be returned
Returns
Returns all WitAppInfo[] data found for the specified parameters
Get data for a specific application id
Parameters
applicationId
The application's unique identifier
onComplete
Callback on completion that returns app info if possible
Returns
Returns false if request cannot be made
Get data for a specific application id async
Parameters
applicationId
The application's unique identifier
Returns
Returns wit application info
Get all export data for a wit application
Parameters
applicationId
The application's unique identifier
Returns
Returns false if request cannot be made
Get all export data for a wit application asynchronously
Parameters
applicationId
The application's unique identifier
Returns
Returns WitExportInfo if possible
bool RequestAppVersionTags
( string applicationId,
RequestCompleteDelegate< WitVersionTagInfo[][]> onComplete )
Retrieve the version tags for the app asynchronously
Parameters
applicationId
The application's unique identifier
Returns
Returns WitVersionTagInfo[][] if possible
bool RequestClientAppToken
( string applicationId,
RequestCompleteDelegate< string > onComplete )
Obtain client token asynchronously
Parameters
applicationId
The application's unique identifier
Returns
Returns client token string if possible
bool RequestIntentList
( RequestCompleteDelegate< WitIntentInfo[]> onComplete )
Obtain a list of wit intents for the configuration
Returns
Returns decoded intent info structs
bool RequestIntentInfo
( string intentId,
RequestCompleteDelegate< WitIntentInfo > onComplete )
Obtain specific wit info for the configuration
Returns
Returns of WitIntentInfo if possible
bool RequestEntityList
( RequestCompleteDelegate< WitEntityInfo[]> onComplete )
Obtain a list of wit entities for the configuration
Returns
Returns decoded entity info structs
bool RequestEntityInfo
( string entityId,
RequestCompleteDelegate< WitEntityInfo > onComplete )
Obtain all info on a specific wit entity for the configuration
Returns
Returns a decoded entity info struct
bool RequestTraitList
( RequestCompleteDelegate< WitTraitInfo[]> onComplete )
Obtain a list of wit traits for the configuration
Returns
Returns decoded trait info structs
bool RequestTraitInfo
( string traitId,
RequestCompleteDelegate< WitTraitInfo > onComplete )
Obtain all info on a specific wit trait for the configuration
Returns
Returns a decoded trait info struct
bool RequestVoiceList
( RequestCompleteDelegate< Dictionary< string, WitVoiceInfo[]>> onComplete )
Obtain all info on wit voices for the configuration
Returns
Returns a decoded dictionary of WitVoiceInfo per language
Did you find this page helpful?
Thumbs up icon
Thumbs down icon