WitMessageVRequest ( IWitRequestConfiguration configuration, string requestId, RequestProgressDelegate onDownloadProgress, RequestFirstResponseDelegate onFirstResponse, RequestCompleteDelegate< string > onPartial ) Constructor for wit based message VRequests | |
bool | MessageRequest ( string text, Dictionary< string, string > queryParams, RequestCompleteDelegate< string > onComplete, RequestCompleteDelegate< string > onPartial ) Voice message request |
bool | MessageRequest ( string endpoint, bool post, string text, Dictionary< string, string > queryParams, RequestCompleteDelegate< string > onComplete, RequestCompleteDelegate< string > onPartial ) Voice message request |
Meta.WitAi.Requests.WitMessageVRequest.WitMessageVRequest ( IWitRequestConfiguration configuration, string requestId, RequestProgressDelegate onDownloadProgress, RequestFirstResponseDelegate onFirstResponse, RequestCompleteDelegate< string > onPartial ) |
---|
Constructor for wit based message VRequests Parameters configuration The configuration interface to be used requestIdA unique identifier that can be used to track the request onDownloadProgressThe callback for progress related to downloading onFirstResponseThe callback for the first response of data from a request |
bool Meta.WitAi.Requests.WitMessageVRequest.MessageRequest ( string text, Dictionary< string, string > queryParams, RequestCompleteDelegate< string > onComplete, RequestCompleteDelegate< string > onPartial ) |
---|
Voice message request Parameters text Text to be sent to message endpoint queryParamsParameters to be sent to the endpoint onCompleteThe callback delegate on request completion Returns False if the request cannot be performed |
bool Meta.WitAi.Requests.WitMessageVRequest.MessageRequest ( string endpoint, bool post, string text, Dictionary< string, string > queryParams, RequestCompleteDelegate< string > onComplete, RequestCompleteDelegate< string > onPartial ) |
---|
Voice message request Parameters endpoint Endpoint to be used for possible overrides postWill perform a POST if true, will perform a GET otherwise textText to be sent to message endpoint queryParamsParameters to be sent to the endpoint onCompleteThe callback delegate on request completion Returns False if the request cannot be performed |