SyncMediaTtsTimelineContentTransformationOptions

data class SyncMediaTtsTimelineContentTransformationOptions(val contentBlockAttributeExclusions: List<SyncMediaTtsContentBlockAttributeExclusion> = listOf<SyncMediaTtsContentBlockAttributeExclusion>(SyncMediaTtsContentBlockAttributeExclusion(name = "role", values = listOf<String>("presentation", "none")), SyncMediaTtsContentBlockAttributeExclusion(name = "aria-hidden", values = listOf<String>("true"))), val imageAltTextPrefix: String? = null, val normalizeQuotationMarks: Boolean = true)

Options related to how content is generated for TTS SyncMediaTimelines.

Constructors

constructor(contentBlockAttributeExclusions: List<SyncMediaTtsContentBlockAttributeExclusion> = listOf<SyncMediaTtsContentBlockAttributeExclusion>(SyncMediaTtsContentBlockAttributeExclusion(name = "role", values = listOf<String>("presentation", "none")), SyncMediaTtsContentBlockAttributeExclusion(name = "aria-hidden", values = listOf<String>("true"))), imageAltTextPrefix: String? = null, normalizeQuotationMarks: Boolean = true)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Content blocks carrying an attribute that matches one of these exclusions are left out of the timeline, together with their descendants.

Link copied to clipboard

Text that will be prepended to alt text when reading an image element. Defaults to empty string

Link copied to clipboard

If set to true, then:

Functions

Link copied to clipboard
fun serialize(generator: JsonGenerator)