Provider
Asynchronous
No Custom Parameters
Allows a developer to manually manage grammars on the Nuance OSR server.
ManageGrammar allows a developer a way to more tightly control the loading and unloading of grammars.
If one knows that a VoiceRecognition action is going to reference a very large grammar, or many grammars at once, there may be a negative performance impact on the Nuance OSR server, resulting in a delay before the voice regcognition operation can truly begin. With ManageGrammar, one can load specific grammars before they are needed to optimize performance. Conversely, grammars can also be unloaded if it is known that they are no longer needed.
Only the VoiceRecognition action is required when building voice recognition-capable applications. ManageGrammar is only for additional control over grammars. If unsure whether or not you should use this action, then we recommend you ignore it, since its use is for optimization, but not core functionality.
| Parameter Name | .NET Type | Default | Description |
|---|---|---|---|
| Action * | System.String |
| |
| Grammars | System.String[] | Grammars | |
| CommandTimeout | System.UInt32 | Indicates a command timeout value (in milliseconds). | |
| ConnectionId * | System.String | The connection to perform the ManageGrammar on. | |
| Grammar * | System.String | A string or string[]. These files define the grammar rules to use when performing the management operation indicated by the Action parameter.. For each specified grammar file, there are three potential formats:
| |
| Timeout | System.Int32 | The Timeout property specifies to the Application Runtime Environment how long
to wait for a response from the provider for the current action.
The ReturnValue returned in this case is Timeout. The value must be a literal value in milliseconds. |
| Parameter Name | .NET Type | Description |
|---|---|---|
| ResultCode | System.String | A numeric code indicating the result status of the operation. A '0' indicates success; a positive number indicates an error. Please reference the Media Control Error Codes table for descriptions on specific error codes. |
Branch Conditions
No description.
No description.
No description.