TtsUtteranceData

data class TtsUtteranceData(val charOffset: Int, val id: Int, val nodeData: EngineEventTargetXmlElementNodeData?, val text: LocalizableString)

Constructors

Link copied to clipboard
constructor(charOffset: Int, id: Int, nodeData: EngineEventTargetXmlElementNodeData?, text: LocalizableString)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The character offset into the text where the TtsSynthesizer should start reading.

Link copied to clipboard
val id: Int

A number identifying this utterance used in the TtsSynthesizerContext callbacks.

Link copied to clipboard

A JSON compatible data structure representing the element containing the text of the utterance.

Link copied to clipboard

The text content for the TTS engine.

Functions

Link copied to clipboard
fun serialize(generator: JsonGenerator)