Words
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.
Constructors
Link copied to clipboard
constructor(fetchWithLowPriority: Boolean = false, serializedData: String? = null, mappingOptions: EpubWordsContentPositionTimelineMappingOptions = EpubWordsContentPositionTimelineMappingOptions())
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
Options specifying how words and media elements should be mapped to timeline positions.
Link copied to clipboard
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.