API reference

WitInfoVRequest Class

Extends Meta.WitAi.Requests.WitVRequest, Meta.WitAi.Requests.IWitInfoVRequest

Constructors

WitInfoVRequest ( configuration , useServerToken , onDownloadProgress , onFirstResponse )
Constructor for wit based info VRequests
Signature
Meta.WitAi.Requests.WitInfoVRequest.WitInfoVRequest(IWitRequestConfiguration configuration, bool useServerToken=true, RequestProgressDelegate onDownloadProgress=null, RequestFirstResponseDelegate onFirstResponse=null)
Parameters
configuration: IWitRequestConfiguration  The configuration interface to be used
useServerToken: bool  Editor only option to use server token instead of client token
onDownloadProgress: RequestProgressDelegate  The callback for progress related to downloading
onFirstResponse: RequestFirstResponseDelegate  The callback for the first response of data from a request

Methods

RequestAppExportInfo ( onComplete )
Get all export data for a wit application
Signature
bool Meta.WitAi.Requests.WitInfoVRequest.RequestAppExportInfo(RequestCompleteDelegate< WitExportInfo > onComplete)
Parameters
onComplete: RequestCompleteDelegate< WitExportInfo >
Returns
bool  Returns false if request cannot be made
RequestAppExportInfoAsync ( applicationId )
Get all export data for a wit application asynchronously
Signature
async Task<RequestCompleteResponse<WitExportInfo> > Meta.WitAi.Requests.WitInfoVRequest.RequestAppExportInfoAsync(string applicationId)
Parameters
applicationId: string  The application's unique identifier
Returns
async Task< RequestCompleteResponse< WitExportInfo > >  Returns WitExportInfo if possible
RequestAppId ( onComplete )
A request to obtain the current app id by grabbing multiple apps & using the app id
Signature
bool Meta.WitAi.Requests.WitInfoVRequest.RequestAppId(RequestCompleteDelegate< string > onComplete)
Parameters
onComplete: RequestCompleteDelegate< string >  Returns string with the specified app id if possible.
Returns
bool  Returns false if request cannot be made
RequestAppIdAsync ()
A request to obtain all apps available & return the current app id
Signature
async Task<RequestCompleteResponse<string> > Meta.WitAi.Requests.WitInfoVRequest.RequestAppIdAsync()
Returns
async Task< RequestCompleteResponse< string > >  Returns the specified app id
RequestAppInfo ( applicationId , onComplete )
Get data for a specific application id
Signature
bool Meta.WitAi.Requests.WitInfoVRequest.RequestAppInfo(string applicationId, RequestCompleteDelegate< WitAppInfo > onComplete)
Parameters
applicationId: string  The application's unique identifier
onComplete: RequestCompleteDelegate< WitAppInfo >  Callback on completion that returns app info if possible
Returns
bool  Returns false if request cannot be made
RequestAppInfoAsync ( applicationId )
Get data for a specific application id async
Signature
async Task<RequestCompleteResponse<WitAppInfo> > Meta.WitAi.Requests.WitInfoVRequest.RequestAppInfoAsync(string applicationId)
Parameters
applicationId: string  The application's unique identifier
Returns
async Task< RequestCompleteResponse< WitAppInfo > >  Returns wit application info
RequestApps ( limit , offset , onComplete )
Get all wit app data
Signature
bool Meta.WitAi.Requests.WitInfoVRequest.RequestApps(int limit, int offset, RequestCompleteDelegate< WitAppInfo[]> onComplete)
Parameters
limit: int  The maximum amount of apps to be returned
offset: int  The index offset for apps to be returned
onComplete: RequestCompleteDelegate< WitAppInfo[]>  Callback on completion
Returns
bool  Returns false if request cannot be made
RequestAppsAsync ( limit , offset )
Get all wit app data asynchronously
Signature
async Task<RequestCompleteResponse<WitAppInfo[]> > Meta.WitAi.Requests.WitInfoVRequest.RequestAppsAsync(int limit, int offset)
Parameters
limit: int  The maximum amount of apps to be returned
offset: int  The index offset for apps to be returned
Returns
async Task< RequestCompleteResponse< WitAppInfo[]> >  Returns all WitAppInfo[] data found for the specified parameters
RequestAppVersionTags ( applicationId , onComplete )
Signature
bool Meta.WitAi.Requests.WitInfoVRequest.RequestAppVersionTags(string applicationId, RequestCompleteDelegate< WitVersionTagInfo[][]> onComplete)
Parameters
applicationId: string
onComplete: RequestCompleteDelegate< WitVersionTagInfo[][]>
Returns
bool
RequestAppVersionTagsAsync ( applicationId )
Retrieve the version tags for the app asynchronously
Signature
async Task<RequestCompleteResponse<WitVersionTagInfo[][]> > Meta.WitAi.Requests.WitInfoVRequest.RequestAppVersionTagsAsync(string applicationId)
Parameters
applicationId: string  The application's unique identifier
Returns
async Task< RequestCompleteResponse< WitVersionTagInfo[][]> >  Returns WitVersionTagInfo[][] if possible
RequestClientAppToken ( applicationId , onComplete )
Signature
bool Meta.WitAi.Requests.WitInfoVRequest.RequestClientAppToken(string applicationId, RequestCompleteDelegate< string > onComplete)
Parameters
applicationId: string
onComplete: RequestCompleteDelegate< string >
Returns
bool
RequestClientTokenAsync ( applicationId )
Obtain client token asynchronously
Signature
async Task<RequestCompleteResponse<string> > Meta.WitAi.Requests.WitInfoVRequest.RequestClientTokenAsync(string applicationId)
Parameters
applicationId: string  The application's unique identifier
Returns
async Task< RequestCompleteResponse< string > >  Returns client token string if possible
RequestEntityInfo ( entityId , onComplete )
Signature
bool Meta.WitAi.Requests.WitInfoVRequest.RequestEntityInfo(string entityId, RequestCompleteDelegate< WitEntityInfo > onComplete)
Parameters
entityId: string
onComplete: RequestCompleteDelegate< WitEntityInfo >
Returns
bool
RequestEntityInfoAsync ( entityId )
Obtain all info on a specific wit entity for the configuration
Signature
async Task<RequestCompleteResponse<WitEntityInfo> > Meta.WitAi.Requests.WitInfoVRequest.RequestEntityInfoAsync(string entityId)
Parameters
entityId: string
Returns
async Task< RequestCompleteResponse< WitEntityInfo > >  Returns a decoded entity info struct
RequestEntityList ( onComplete )
Signature
bool Meta.WitAi.Requests.WitInfoVRequest.RequestEntityList(RequestCompleteDelegate< WitEntityInfo[]> onComplete)
Parameters
onComplete: RequestCompleteDelegate< WitEntityInfo[]>
Returns
bool
RequestEntityListAsync ()
Obtain a list of wit entities for the configuration
Signature
async Task<RequestCompleteResponse<WitEntityInfo[]> > Meta.WitAi.Requests.WitInfoVRequest.RequestEntityListAsync()
Returns
async Task< RequestCompleteResponse< WitEntityInfo[]> >  Returns decoded entity info structs
RequestIntentInfo ( intentId , onComplete )
Signature
bool Meta.WitAi.Requests.WitInfoVRequest.RequestIntentInfo(string intentId, RequestCompleteDelegate< WitIntentInfo > onComplete)
Parameters
intentId: string
onComplete: RequestCompleteDelegate< WitIntentInfo >
Returns
bool
RequestIntentInfoAsync ( intentId )
Obtain specific wit info for the configuration
Signature
async Task<RequestCompleteResponse<WitIntentInfo> > Meta.WitAi.Requests.WitInfoVRequest.RequestIntentInfoAsync(string intentId)
Parameters
intentId: string
Returns
async Task< RequestCompleteResponse< WitIntentInfo > >  Returns of WitIntentInfo if possible
RequestIntentList ( onComplete )
Signature
bool Meta.WitAi.Requests.WitInfoVRequest.RequestIntentList(RequestCompleteDelegate< WitIntentInfo[]> onComplete)
Parameters
onComplete: RequestCompleteDelegate< WitIntentInfo[]>
Returns
bool
RequestIntentListAsync ()
Obtain a list of wit intents for the configuration
Signature
async Task<RequestCompleteResponse<WitIntentInfo[]> > Meta.WitAi.Requests.WitInfoVRequest.RequestIntentListAsync()
Returns
async Task< RequestCompleteResponse< WitIntentInfo[]> >  Returns decoded intent info structs
RequestTraitInfo ( traitId , onComplete )
Signature
bool Meta.WitAi.Requests.WitInfoVRequest.RequestTraitInfo(string traitId, RequestCompleteDelegate< WitTraitInfo > onComplete)
Parameters
traitId: string
onComplete: RequestCompleteDelegate< WitTraitInfo >
Returns
bool
RequestTraitInfoAsync ( traitId )
Obtain all info on a specific wit trait for the configuration
Signature
async Task<RequestCompleteResponse<WitTraitInfo> > Meta.WitAi.Requests.WitInfoVRequest.RequestTraitInfoAsync(string traitId)
Parameters
traitId: string
Returns
async Task< RequestCompleteResponse< WitTraitInfo > >  Returns a decoded trait info struct
RequestTraitList ( onComplete )
Signature
bool Meta.WitAi.Requests.WitInfoVRequest.RequestTraitList(RequestCompleteDelegate< WitTraitInfo[]> onComplete)
Parameters
onComplete: RequestCompleteDelegate< WitTraitInfo[]>
Returns
bool
RequestTraitListAsync ()
Obtain a list of wit traits for the configuration
Signature
async Task<RequestCompleteResponse<WitTraitInfo[]> > Meta.WitAi.Requests.WitInfoVRequest.RequestTraitListAsync()
Returns
async Task< RequestCompleteResponse< WitTraitInfo[]> >  Returns decoded trait info structs
RequestVoiceList ( onComplete )
Signature
bool Meta.WitAi.Requests.WitInfoVRequest.RequestVoiceList(RequestCompleteDelegate< Dictionary< string, WitVoiceInfo[]>> onComplete)
Parameters
onComplete: RequestCompleteDelegate< Dictionary< string, WitVoiceInfo[]>>
Returns
bool
RequestVoiceListAsync ()
Obtain all info on wit voices for the configuration
Signature
async Task<RequestCompleteResponse<Dictionary<string, WitVoiceInfo[]> > > Meta.WitAi.Requests.WitInfoVRequest.RequestVoiceListAsync()
Returns
async Task< RequestCompleteResponse< Dictionary< string, WitVoiceInfo[]> > >  Returns a decoded dictionary of WitVoiceInfo per language