TextToSpeechFactory

constructor(context: Context, defaultEngine: TextToSpeechEngine = TextToSpeechEngine.SystemDefault)(source)


constructor(context: Context, defaultSpeechEngine: String? = null)(source)

Deprecated

Replaced by constructor with TextToSpeechEngine class

Factory class to create a Text-to-Speech instance. Use defaultSpeechEngine to set the package name of the default engine. Setting this to TextToSpeechEngine.Google.androidPackage is recommended.

constructor()(source)
constructor()(source)
constructor(context: Window = window)(source)