Browse
 
Tools
Rss Categories

LVSpeechPort::GetAvailableLanguageIndex

Reference Number: AA-00758 Views: 7292 0 Rating/ Voters

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

Function

  • static int 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, (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