Returns the number languages available on the ASR server.
Function
- static int GetAvailableLanguageCount(void)
Return Values
Non-negative number
The actual number of pronunciations returned by the ASR engine.
LV_TIME_OUT
The sending of the request to the ASR server failed.
LV_NO_SERVER_AVAILABLE
The operation failed because no ASR server was available.
LV_EXCEPTION
An exception occurred while processing the request.
Remarks
This function is usually used in conjunction with
GetAvailableLanguageIndex.
After getting the count of available languages, you can get the string identifier of a specific language by using its index number.
See Also