SpeechSynthesisEvent

sealed interface SpeechSynthesisEvent

A progress update while text is being spoken.

Inheritors

Types

Link copied to clipboard

Speaking was interrupted, by SpeechSynthesizing.stop or by a newer request.

Link copied to clipboard

The engine finished speaking.

Link copied to clipboard

The engine started speaking.

Link copied to clipboard
data class WillSpeak(val start: Int, val end: Int) : SpeechSynthesisEvent

The engine is about to speak the range start until end of the request text.