TextToSpeechInstance
A TTS instance. Should be closed when no longer in use.
Inheritors
Types
Functions
Link copied to clipboard
Link copied to clipboard
abstract fun say(text: String, clearQueue: Boolean = false, callback: (Result<TextToSpeechInstance.Status>) -> Unit)
abstract suspend fun say(text: String, clearQueue: Boolean = false, resumeOnStatus: TextToSpeechInstance.Status = Status.FINISHED)
Properties
Link copied to clipboard
Link copied to clipboard
Value indicating if the engine is warming up. Is true after enqueue or say has been called the first time, but before isSynthesizing is true. Is false otherwise.