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

WitInfoVRequest Class

Meta::WitAi::Requests::WitInfoVRequest extends Meta.WitAi.Requests.WitVRequest.
Meta::WitAi::Requests::WitInfoVRequest extends Meta.WitAi.Requests.IWitInfoVRequest.

Overview

Public Member Functions

WitInfoVRequest
( IWitRequestConfiguration configuration,
bool useServerToken,
RequestProgressDelegate onDownloadProgress,
RequestFirstResponseDelegate onFirstResponse )
Constructor for wit based info VRequests
bool
RequestAppId
( RequestCompleteDelegate< string > onComplete )
A request to obtain the current app id by grabbing multiple apps & using the app id
async Task< RequestCompleteResponse< string > >
A request to obtain all apps available & return the current app id
bool
RequestApps
( int limit,
int offset,
RequestCompleteDelegate< WitAppInfo[]> onComplete )
Get all wit app data
RequestAppsAsync
( int limit,
int offset )
Get all wit app data asynchronously
bool
RequestAppInfo
( string applicationId,
RequestCompleteDelegate< WitAppInfo > onComplete )
Get data for a specific application id
RequestAppInfoAsync
( string applicationId )
Get data for a specific application id async
bool
RequestAppExportInfo
( RequestCompleteDelegate< WitExportInfo > onComplete )
Get all export data for a wit application
RequestAppExportInfoAsync
( string applicationId )
Get all export data for a wit application asynchronously
bool
RequestAppVersionTags
( string applicationId,
RequestCompleteDelegate< WitVersionTagInfo[][]> onComplete )
RequestAppVersionTagsAsync
( string applicationId )
Retrieve the version tags for the app asynchronously
bool
RequestClientAppToken
( string applicationId,
RequestCompleteDelegate< string > onComplete )
async Task< RequestCompleteResponse< string > >
RequestClientTokenAsync
( string applicationId )
Obtain client token asynchronously
bool
RequestIntentList
( RequestCompleteDelegate< WitIntentInfo[]> onComplete )
Obtain a list of wit intents for the configuration
bool
RequestIntentInfo
( string intentId,
RequestCompleteDelegate< WitIntentInfo > onComplete )
RequestIntentInfoAsync
( string intentId )
Obtain specific wit info for the configuration
bool
RequestEntityList
( RequestCompleteDelegate< WitEntityInfo[]> onComplete )
Obtain a list of wit entities for the configuration
bool
RequestEntityInfo
( string entityId,
RequestCompleteDelegate< WitEntityInfo > onComplete )
RequestEntityInfoAsync
( string entityId )
Obtain all info on a specific wit entity for the configuration
bool
RequestTraitList
( RequestCompleteDelegate< WitTraitInfo[]> onComplete )
Obtain a list of wit traits for the configuration
bool
RequestTraitInfo
( string traitId,
RequestCompleteDelegate< WitTraitInfo > onComplete )
RequestTraitInfoAsync
( string traitId )
Obtain all info on a specific wit trait for the configuration
bool
RequestVoiceList
( RequestCompleteDelegate< Dictionary< string, WitVoiceInfo[]>> onComplete )
async Task< RequestCompleteResponse< Dictionary< string, WitVoiceInfo[]> > >
Obtain all info on wit voices for the configuration

Details

Member Functions

Meta.WitAi.Requests.WitInfoVRequest.WitInfoVRequest
( IWitRequestConfiguration configuration,
bool useServerToken,
RequestProgressDelegate onDownloadProgress,
RequestFirstResponseDelegate onFirstResponse )
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
bool Meta.WitAi.Requests.WitInfoVRequest.RequestAppId
( RequestCompleteDelegate< string > onComplete )
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
async Task<RequestCompleteResponse<string> > Meta.WitAi.Requests.WitInfoVRequest.RequestAppIdAsync ( )
A request to obtain all apps available & return the current app id
Returns
Returns the specified app id
bool Meta.WitAi.Requests.WitInfoVRequest.RequestApps
( int limit,
int offset,
RequestCompleteDelegate< WitAppInfo[]> onComplete )
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
async Task<RequestCompleteResponse<WitAppInfo[]> > Meta.WitAi.Requests.WitInfoVRequest.RequestAppsAsync
( int limit,
int offset )
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
bool Meta.WitAi.Requests.WitInfoVRequest.RequestAppInfo
( string applicationId,
RequestCompleteDelegate< WitAppInfo > onComplete )
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
async Task<RequestCompleteResponse<WitAppInfo> > Meta.WitAi.Requests.WitInfoVRequest.RequestAppInfoAsync
( string applicationId )
Get data for a specific application id async
Parameters
applicationId
The application's unique identifier
Returns
Returns wit application info
bool Meta.WitAi.Requests.WitInfoVRequest.RequestAppExportInfo
( RequestCompleteDelegate< WitExportInfo > onComplete )
Get all export data for a wit application
Parameters
applicationId
The application's unique identifier
Returns
Returns false if request cannot be made
async Task<RequestCompleteResponse<WitExportInfo> > Meta.WitAi.Requests.WitInfoVRequest.RequestAppExportInfoAsync
( string applicationId )
Get all export data for a wit application asynchronously
Parameters
applicationId
The application's unique identifier
Returns
Returns WitExportInfo if possible
bool Meta.WitAi.Requests.WitInfoVRequest.RequestAppVersionTags
( string applicationId,
RequestCompleteDelegate< WitVersionTagInfo[][]> onComplete )
No description available.
async Task<RequestCompleteResponse<WitVersionTagInfo[][]> > Meta.WitAi.Requests.WitInfoVRequest.RequestAppVersionTagsAsync
( string applicationId )
Retrieve the version tags for the app asynchronously
Parameters
applicationId
The application's unique identifier
Returns
Returns WitVersionTagInfo[][] if possible
bool Meta.WitAi.Requests.WitInfoVRequest.RequestClientAppToken
( string applicationId,
RequestCompleteDelegate< string > onComplete )
No description available.
async Task<RequestCompleteResponse<string> > Meta.WitAi.Requests.WitInfoVRequest.RequestClientTokenAsync
( string applicationId )
Obtain client token asynchronously
Parameters
applicationId
The application's unique identifier
Returns
Returns client token string if possible
bool Meta.WitAi.Requests.WitInfoVRequest.RequestIntentList
( RequestCompleteDelegate< WitIntentInfo[]> onComplete )
No description available.
async Task<RequestCompleteResponse<WitIntentInfo[]> > Meta.WitAi.Requests.WitInfoVRequest.RequestIntentListAsync ( )
Obtain a list of wit intents for the configuration
Returns
Returns decoded intent info structs
bool Meta.WitAi.Requests.WitInfoVRequest.RequestIntentInfo
( string intentId,
RequestCompleteDelegate< WitIntentInfo > onComplete )
No description available.
async Task<RequestCompleteResponse<WitIntentInfo> > Meta.WitAi.Requests.WitInfoVRequest.RequestIntentInfoAsync
( string intentId )
Obtain specific wit info for the configuration
Returns
Returns of WitIntentInfo if possible
bool Meta.WitAi.Requests.WitInfoVRequest.RequestEntityList
( RequestCompleteDelegate< WitEntityInfo[]> onComplete )
No description available.
async Task<RequestCompleteResponse<WitEntityInfo[]> > Meta.WitAi.Requests.WitInfoVRequest.RequestEntityListAsync ( )
Obtain a list of wit entities for the configuration
Returns
Returns decoded entity info structs
bool Meta.WitAi.Requests.WitInfoVRequest.RequestEntityInfo
( string entityId,
RequestCompleteDelegate< WitEntityInfo > onComplete )
No description available.
async Task<RequestCompleteResponse<WitEntityInfo> > Meta.WitAi.Requests.WitInfoVRequest.RequestEntityInfoAsync
( string entityId )
Obtain all info on a specific wit entity for the configuration
Returns
Returns a decoded entity info struct
bool Meta.WitAi.Requests.WitInfoVRequest.RequestTraitList
( RequestCompleteDelegate< WitTraitInfo[]> onComplete )
No description available.
async Task<RequestCompleteResponse<WitTraitInfo[]> > Meta.WitAi.Requests.WitInfoVRequest.RequestTraitListAsync ( )
Obtain a list of wit traits for the configuration
Returns
Returns decoded trait info structs
bool Meta.WitAi.Requests.WitInfoVRequest.RequestTraitInfo
( string traitId,
RequestCompleteDelegate< WitTraitInfo > onComplete )
No description available.
async Task<RequestCompleteResponse<WitTraitInfo> > Meta.WitAi.Requests.WitInfoVRequest.RequestTraitInfoAsync
( string traitId )
Obtain all info on a specific wit trait for the configuration
Returns
Returns a decoded trait info struct
bool Meta.WitAi.Requests.WitInfoVRequest.RequestVoiceList
( RequestCompleteDelegate< Dictionary< string, WitVoiceInfo[]>> onComplete )
No description available.
async Task<RequestCompleteResponse<Dictionary<string, WitVoiceInfo[]> > > Meta.WitAi.Requests.WitInfoVRequest.RequestVoiceListAsync ( )
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