| choice |
Data Type: string |
Default: none |
Optional |
Please note that the event structure has additional information available in a "choice" object. Specifically, there is an "event.choice" object that itself has the following fields:
- event.choice.concept - Only tags or concepts returned from recognition.
- event.choice.interpretation - Full semantic interpretation of the results.
- event.choice.utterance - What the caller actually input before interpretation.
- event.choice.confidence - The ASR engine's confidence in the result
- event.choice.xml - The raw NLSML result returned from the underlying MRCP engine.
|
| name |
Data Type: string |
Default: none |
Optional |
Depending on the event that ends the method, the event.name attribute will be set to:
choice, record, timeout, badChoice, hangup, silenceTimeout, or error. |
| value |
Data Type: string |
Default: none |
Optional |
The event.value attribute will be set for choice and record events, as will event.recordURI as appropriate. The rules are:
- If choice and record are on, return event.name = choice, event.value = grammar result, and event.recordURI = recordURI
- If choice is on but not record, return event.name = choice, event.value = grammar result, and event.recordURI = null
- If record is on but not choice, return event.name = record, event.value = recordURI, and event.recordURI = recordURI
|