Returns the language identifier of the grammar that generated the specified interpretation index.
Function
- const char* GetInterpretationLanguage(int VoiceChannel, int index)
Parameters
VoiceChannel
The channel containing the decoded audio.
index
The index of the interpretation for which the language identifier is being queried.
Return Values
Non-NULL
The queried language identifier.
NULL
If the port is not valid, the specified VoiceChannel is invalid, or the specified (index) interpretation does not exist.
Remarks
The returned language identifier is an RFC 3066 language identifier, such as "en-US" for United States English, or "fr-CA" for Canadian French.
See Also