EpubContentPositionTimelineOptions

Base interface for all options types that can be used when creating ContentPositionTimeline for EPUB Publications.

Types

Link copied to clipboard
class Characters(val fetchWithLowPriority: Boolean = false, val serializedData: String? = null, val mappingOptions: EpubCharactersContentPositionTimelineMappingOptions = EpubCharactersContentPositionTimelineMappingOptions()) : EpubContentPositionTimelineOptions

Options object used when creating ContentPositionTimeline for EPUB Publications, using CHARACTERS as unit of measurement.

Link copied to clipboard
class Documents(val fetchWithLowPriority: Boolean = false, val serializedData: String? = null) : EpubContentPositionTimelineOptions

Options object used when creating ContentPositionTimeline for EPUB Publications, using DOCUMENTS as unit of measurement.

Link copied to clipboard
class Pages(val fetchWithLowPriority: Boolean = false, val serializedData: String? = null) : EpubContentPositionTimelineOptions

Options object used when creating ContentPositionTimeline for EPUB Publications, using PAGES as unit of measurement.

Link copied to clipboard
class Words(val fetchWithLowPriority: Boolean = false, val serializedData: String? = null, val mappingOptions: EpubWordsContentPositionTimelineMappingOptions = EpubWordsContentPositionTimelineMappingOptions()) : EpubContentPositionTimelineOptions

Options object used when creating ContentPositionTimeline for EPUB Publications, using WORDS as unit of measurement.

Functions

Link copied to clipboard
open fun serialize(generator: JsonGenerator)

Properties

Link copied to clipboard

Fetch operations might impact rendering and animation performance. If this is set to true, the timeline will wait for higher priority tasks to finish instead of executing the fetch operations immediately.

Link copied to clipboard
val serializedData: String? = null

Pass the data from ContentPositionTimeline.toSerializedData() that you saved from a previous instance. Settings this option allows the timeline to be built more quickly.

Link copied to clipboard

The unit of measurement used by the ContentPositionTimeline.

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard