![]() |
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.SpeechToTextCustom (string audioFilePath, string dictionaryFilePath, string grammarFilePath, XSpeechCustomContext speechCustomContext, string xArgs=null, string audioContentType=null) |
SpeechResponse ATT_MSSDK.RequestFactory.SpeechToTextCustom | ( | string | audioFilePath, |
string | dictionaryFilePath, | ||
string | grammarFilePath, | ||
XSpeechCustomContext | speechCustomContext, | ||
string | xArgs = null , |
||
string | audioContentType = null |
||
) |
This method converts spoken audio to text. Optional inline hints and inline grammar may be provided by the developer to get more accurate results with a known data set.
audioFilePath | Audio file path |
dictionaryFilePath | Inline hint file path |
grammarFilePath | Inline grammar file path |
speechCustomContext | XSpeechCustomContext |
xArgs | String having name/value pairs separated by comma, used to populate X-Arg header field is a meta parameter |
audioContentType | Specifies the content type of the audio submitted. |
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. |