SyncMediaTtsContentBlockRendererOptions

data class SyncMediaTtsContentBlockRendererOptions(val segmentHighlightAnnotationOptions: ReaderViewAnnotationOptions? = null, val segmentHighlightEnabled: Boolean = true, val wordHighlightAnnotationOptions: ReaderViewAnnotationOptions? = null, val wordHighlightEnabled: Boolean = false)

Options for a SyncMediaTtsContentBlockRenderer.

Constructors

Link copied to clipboard
fun SyncMediaTtsContentBlockRendererOptions(segmentHighlightAnnotationOptions: ReaderViewAnnotationOptions? = null, segmentHighlightEnabled: Boolean = true, wordHighlightAnnotationOptions: ReaderViewAnnotationOptions? = null, wordHighlightEnabled: Boolean = false)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun serialize(generator: JsonGenerator)

Properties

Link copied to clipboard

ReaderViewAnnotationOptions to use for segment highlighting. If null, the options set with ReaderViewAnnotationLayer.setDefaultAnnotationOptions() will be used.

Link copied to clipboard

If the active segment should be highlighted.

Link copied to clipboard

ReaderViewAnnotationOptions to use for word highlighting. If null, the options set with ReaderViewAnnotationLayer.setDefaultAnnotationOptions() will be used.

Link copied to clipboard

If the currently spoken word should be highlighted.