Epub Reader Publication
Format specific API for an EPUB ReaderPublication.
Properties
The units of measure that can be used when creating ContentPositionTimeline objects using this publication.
The sync media formats available in this publication.
The Url for the cover image of the book. Use this URL with fetchResourceData to fetch the cover image.
The base URL used when creating Locators pointing to content in this publication.
Gets/sets the options related to processing and presentation of the EPUB publication.
The ResourceProvider instance used to fetch publication resources.
Additional information about the source publication such as preferred way to render its content, its metadata, etc.
Metadata extracted from this EPUB publication. This is the same as doing sourcePublication.metadata as EpubPublicationMetadata
.
The ordered list of ReaderDocument instances in this publication.
Functions
Creates a new ContentPositionTimeline using the specified readerDocuments. A ContentPositionTimeline is used for describing positions in ReaderPublication content as integers.
Creates a new EPUB Media Overlay SyncMediaTimeline if available in the publication.
Creates a new TTS SyncMediaTimeline from the specified list of ReaderDocuments. The resulting SyncMediaTimeline can be played using a SyncMediaPlayer.
Destroys a SyncMediaTimeline instance that was previously created with this publication.
Get a ContentLocation from a navigationItem. Used for extracting location specific information from the publication.
Fetches a ContentLocation for hrefs like chapter02.xhtml#title-4
.
Fetches the ReaderPublicationNavigation of this publication.
Fetches a resource from the source publication by URL.
Get a ContentLocation from a locator. Used for extracting location specific information from the publication.