SpeechSynthesizing

Something that speaks text aloud.

Inheritors

Functions

Link copied to clipboard
abstract fun speak(request: SpeechSynthesisRequest): Flow<SpeechSynthesisEvent>

Speaks request, interrupting anything already being spoken.

Link copied to clipboard
abstract fun stop()

Stops speaking. No-op when idle.

Link copied to clipboard
abstract suspend fun voices(): List<SpeechVoice>

Every voice the engine offers.