TtsSyncMediaTimelineConfiguration

class TtsSyncMediaTimelineConfiguration(val ttsSynthesizer: TtsSynthesizer, val highlightLayer: ReaderViewAnnotationLayer? = null, val rendererOptions: SyncMediaTtsContentBlockRendererOptions = SyncMediaTtsContentBlockRendererOptions(), val contentTransformOptions: SyncMediaTtsTimelineContentTransformationOptions = SyncMediaTtsTimelineContentTransformationOptions())

Configuration object used when creating TTS SyncMediaTimeline.

For more information see ReaderPublication.createTtsSyncMediaTimeline

Constructors

Link copied to clipboard
fun TtsSyncMediaTimelineConfiguration(ttsSynthesizer: TtsSynthesizer, highlightLayer: ReaderViewAnnotationLayer? = null, rendererOptions: SyncMediaTtsContentBlockRendererOptions = SyncMediaTtsContentBlockRendererOptions(), contentTransformOptions: SyncMediaTtsTimelineContentTransformationOptions = SyncMediaTtsTimelineContentTransformationOptions())

Properties

Link copied to clipboard

Options related to how content is generated and transformed for TTS SyncMediaTimelines.

Link copied to clipboard

The ReaderViewAnnotationLayer that should be used for highlighting currently spoken text.

Link copied to clipboard

Options controlling how ReaderViewAnnotations should be created for spoken text.

Link copied to clipboard

The TtsSynthesizer implementation that should be used.