Returns the number languages available on the ASR server.
Function
- int LV_SRE_GetAvailableLanguageCount(void)
Return Values
Non-negative number
The actual number of languages available to 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 LV_SRE_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