AndroidTextToSpeechEngine

constructor(context: Context, language: Locale = LocaleProvider.preferredLocale())

Parameters

context

Android context.

language

Language of the messages to be synthesized. The target language must be enabled in TTS settings on the device. Defaults to the current device language.