setLanguage

external fun setLanguage(value: Language): Int

Sets the TTS language. This is required for TTS players. Use getLanguageList and getDefaultLanguage methods to check the level of support before choosing the language to use for the next utterances.

Return

GemError.NoError Success

GemError.NotSupported Not supported

Parameters

value

The ILanguage instance describing the language to be used