SyncMediaTtsContentBlockRefSource

data class SyncMediaTtsContentBlockRefSource(val contentBlockId: Int, val endOffset: Int, val srcMap: String, val startOffset: Int, val ttsOffset: Int)

Describes how the TTS text was generated from a ContentBlock.

Constructors

Link copied to clipboard
fun SyncMediaTtsContentBlockRefSource(contentBlockId: Int, endOffset: Int, srcMap: String, startOffset: Int, ttsOffset: Int)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun serialize(generator: JsonGenerator)

Properties

Link copied to clipboard

The id of the content block referenced by this instance.

Link copied to clipboard

The end offset into the source contentBlock referenced.

Link copied to clipboard

Describes how the ContentBlock string was modified into the text.value string intended for the SpeechSynthesis engine. An example srcMap value is: "A0:7,D0:3,D9:2"

Link copied to clipboard

The start offset into the source contentBlock text referenced.

Link copied to clipboard

The start offset into the mutated ttsRef.text.value where its content corresponds to this instance.