Browse
 
Tools
Rss Categories

LV_SRE_GetAvailableLanguageIndex

Reference Number: AA-00679 Views: 1985 0 Rating/ Voters

Provides the language identifier string of an available language on the ASR server.

Function

  • int LV_SRE_GetAvailableLanguageIndex(int index, char* language, int length)

Parameters

index

The index of the language for which the identifier string is requested. This value must be in the range [0, (LV_SRE_GetAvailableLanguageCount() - 1)].

language

Pointer to a char buffer to copy the language identifier string into.

length

The size of the language buffer.

Return Values

LV_SUCCESS

The call succeeded. The required language's identification string was copied into language.

LV_INVALID_INDEX

index is invalid. Must be in the range [0, (LV_SRE_GetAvailableLanguageCount() - 1)].

LV_EXCEPTION

An exception occurred while processing the request.

See Also