TextToSpeechInstanceWithJsPromises
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)
Link copied to clipboard
abstract fun sayJsPromise(text: String, clearQueue: Boolean = false, resumeOnStatus: TextToSpeechInstance.Status = TextToSpeechInstance.Status.FINISHED): Promise<Unit>
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.