![]() |
AT&T API Platform SDK for Microsoft®
2.3.3
Wrapper classes that allow developers to build robust applications using .NET
|
Classes | |
class | ATT_MSSDK.RequestFactory |
The RequestFactory manages the connections and calls to the AT&T API Platform. More... | |
Functions | |
SpeechResponse | ATT_MSSDK.RequestFactory.SpeechToText (string audioFilePath) |
This method converts spoken audio to text. | |
SpeechResponse | ATT_MSSDK.RequestFactory.SpeechToText (string audioFilePath, XSpeechContext speechContext) |
This method converts spoken audio to text. | |
SpeechResponse | ATT_MSSDK.RequestFactory.SpeechToText (string audioFilePath, NameValueCollection xArgsCollection) |
This method converts spoken audio to text. | |
SpeechResponse | ATT_MSSDK.RequestFactory.SpeechToText (string audioFilePath, XSpeechContext speechContext, NameValueCollection xArgsCollection) |
This method converts spoken audio to text. | |
SpeechResponse | ATT_MSSDK.RequestFactory.SpeechToText (string audioFilePath, XSpeechContext speechContext, string xArgs, string contentLanguage=null, string speechSubContext=null, string audioContentType=null) |
This method converts spoken audio to text. | |
SpeechResponse | ATT_MSSDK.RequestFactory.SpeechToText (string audioFilePath, XArgs xArgs) |
This method converts spoken audio to text. | |
SpeechResponse | ATT_MSSDK.RequestFactory.SpeechToText (string audioFilePath, XSpeechContext speechContext, XArgs xArgs) |
This method converts spoken audio to text. | |
SpeechResponse | ATT_MSSDK.RequestFactory.SpeechToText (string audioFilePath, XSpeechContext speechContext, XArgs xArgs, string xSpeechSubContext, string audioContentType=null) |
This method converts spoken audio to text. | |
SpeechResponse | ATT_MSSDK.RequestFactory.SpeechToText (string audioFilePath, string speechContext) |
This method converts spoken audio to text. | |
SpeechResponse | ATT_MSSDK.RequestFactory.SpeechToText (string audioFilePath, string speechContext, string xArgsParameter) |
This method converts spoken audio to text. |
SpeechResponse ATT_MSSDK.RequestFactory.SpeechToText | ( | string | audioFilePath | ) |
This method converts spoken audio to text.
audioFilePath | Audio file path |
ArgumentException | Thrown if an argument is invalid. |
InvalidScopeException | Thrown if the Request Factory scope does not include SPEECH. |
InvalidResponseException | Thrown if the server returns an error or there is a connection failure. |
SpeechResponse ATT_MSSDK.RequestFactory.SpeechToText | ( | string | audioFilePath, |
XSpeechContext | speechContext | ||
) |
This method converts spoken audio to text.
audioFilePath | Audio file path |
speechContext | X-Speech Context |
ArgumentException | Thrown if an argument is invalid. |
InvalidScopeException | Thrown if the Request Factory scope does not include SMS. |
InvalidResponseException | Thrown if the server returns an error or there is a connection failure. |
SpeechResponse ATT_MSSDK.RequestFactory.SpeechToText | ( | string | audioFilePath, |
NameValueCollection | xArgsCollection | ||
) |
This method converts spoken audio to text.
audioFilePath | Audio file path |
xArgsCollection | X-Arg Collection, The X-Arg header field is a meta parameter that can be used to define multiple parameter name/value pairs. The preferred way to provide these parameters is as a set of name/value pair strings in the format: X-Arg: param1=value1,param2=value2,param3=value3 |
ArgumentException | Thrown if an argument is invalid. |
InvalidScopeException | Thrown if the Request Factory scope does not include SMS. |
InvalidResponseException | Thrown if the server returns an error or there is a connection failure. |
SpeechResponse ATT_MSSDK.RequestFactory.SpeechToText | ( | string | audioFilePath, |
XSpeechContext | speechContext, | ||
NameValueCollection | xArgsCollection | ||
) |
This method converts spoken audio to text.
audioFilePath | Audio file path |
speechContext | X-Speech Context |
xArgsCollection | X-Arg Collection, The X-Arg header field is a meta parameter that can be used to define multiple parameter name/value pairs. The preferred way to provide these parameters is as a set of name/value pair strings in the format: X-Arg: param1=value1,param2=value2,param3=value3 |
ArgumentException | Thrown if an argument is invalid. |
InvalidScopeException | Thrown if the Request Factory scope does not include SMS. |
InvalidResponseException | Thrown if the server returns an error or there is a connection failure. |
SpeechResponse ATT_MSSDK.RequestFactory.SpeechToText | ( | string | audioFilePath, |
XSpeechContext | speechContext, | ||
string | xArgs, | ||
string | contentLanguage = null , |
||
string | speechSubContext = null , |
||
string | audioContentType = null |
||
) |
This method converts spoken audio to text.
audioFilePath | Audio file path |
speechContext | X-Speech Context |
xArgs | The X-Arg header field is a meta parameter that can be used to define multiple parameter name/value pairs. The preferred way to provide these parameters is as a set of name/value pair strings in the format: X-Arg: param1=value1,param2=value2,param3=value3 |
contentLanguage | For Generic Context only. Specifies the language of the submitted audio with one of the following two choices: ‘en-US’ (English - United States) and ‘es-US’ (Spanish - United States). |
speechSubContext | Only used when X-SpeechContext is set to Gaming. |
audioContentType | Custom audio content type. e.g. audio/wav |
ArgumentException | Thrown if an argument is invalid. |
InvalidScopeException | Thrown if the Request Factory scope does not include SMS. |
InvalidResponseException | Thrown if the server returns an error or there is a connection failure. |
SpeechResponse ATT_MSSDK.RequestFactory.SpeechToText | ( | string | audioFilePath, |
XArgs | xArgs | ||
) |
This method converts spoken audio to text.
audioFilePath | Audio file path |
xArgs | XArgs class, The X-Arg header field is a meta parameter that can be used to define multiple parameter name/value pairs. The preferred way to provide these parameters is as a set of name/value pair strings in the format: X-Arg: param1=value1,param2=value2,param3=value3 |
ArgumentException | Thrown if an argument is invalid. |
InvalidScopeException | Thrown if the Request Factory scope does not include SMS. |
InvalidResponseException | Thrown if the server returns an error or there is a connection failure. |
SpeechResponse ATT_MSSDK.RequestFactory.SpeechToText | ( | string | audioFilePath, |
XSpeechContext | speechContext, | ||
XArgs | xArgs | ||
) |
This method converts spoken audio to text.
audioFilePath | Audio file path |
speechContext | X-Speech Context |
xArgs | XArgs class, The X-Arg header field is a meta parameter that can be used to define multiple parameter name/value pairs. The preferred way to provide these parameters is as a set of name/value pair strings in the format: X-Arg: param1=value1,param2=value2,param3=value3 |
ArgumentException | Thrown if an argument is invalid. |
InvalidScopeException | Thrown if the Request Factory scope does not include SMS. |
InvalidResponseException | Thrown if the server returns an error or there is a connection failure. |
SpeechResponse ATT_MSSDK.RequestFactory.SpeechToText | ( | string | audioFilePath, |
XSpeechContext | speechContext, | ||
XArgs | xArgs, | ||
string | xSpeechSubContext, | ||
string | audioContentType = null |
||
) |
This method converts spoken audio to text.
audioFilePath | Audio file path |
speechContext | X-Speech Context |
xArgs | XArgs class, The X-Arg header field is a meta parameter that can be used to define multiple parameter name/value pairs. The preferred way to provide these parameters is as a set of name/value pair strings in the format: X-Arg: param1=value1,param2=value2,param3=value3 |
xSpeechSubContext | Only used when X-SpeechContext is set to Gaming. |
audioContentType | Custom audio content type. e.g. audio/wav |
ArgumentException | Thrown if an argument is invalid. |
InvalidScopeException | Thrown if the Request Factory scope does not include SMS. |
InvalidResponseException | Thrown if the server returns an error or there is a connection failure. |
SpeechResponse ATT_MSSDK.RequestFactory.SpeechToText | ( | string | audioFilePath, |
string | speechContext | ||
) |
This method converts spoken audio to text.
audioFilePath | Audio file path |
speechContext | Speech Context |
ArgumentException | Thrown if an argument is invalid. |
InvalidScopeException | Thrown if the Request Factory scope does not include SMS. |
InvalidResponseException | Thrown if the server returns an error or there is a connection failure. |
SpeechResponse ATT_MSSDK.RequestFactory.SpeechToText | ( | string | audioFilePath, |
string | speechContext, | ||
string | xArgsParameter | ||
) |
This method converts spoken audio to text.
audioFilePath | Audio file path |
speechContext | Speech Context |
xArgsParameter | X-Arg Parameter, The X-Arg header field is a meta parameter that can be used to define multiple parameter name/value pairs. The preferred way to provide these parameters is as a set of name/value pair strings in the format: X-Arg: param1=value1,param2=value2,param3=value3 |
ArgumentException | Thrown if an argument is invalid. |
InvalidScopeException | Thrown if the Request Factory scope does not include SMS. |
InvalidResponseException | Thrown if the server returns an error or there is a connection failure. |