Reading System Engine
Functions
Adds an instance of OnLicenseEventListener to receive events related to Colibrio License Server validation.
Creates a new SyncMediaPlayer from an existing ColibrioAudioPlayer.
Creates a new SyncMediaPlayer. Use for playing synchronized media such as EPUB Media Overlays or TTS (Text-To-Speech). You can create SyncMediaTimeline instances from publications using the format specific ReaderPublication instances. For example EpubReaderPublication.createMediaOverlaySyncMediaTimeline() or PdfReaderPublication.createTtsSyncMediaTimeline()`.
Creates a new ZipResourceProvider using byte data provided by dataSource. The dataSource must return data from a valid ZIP file, such as an EPUB file for example.
Destroys a SyncMediaPlayer created using this ReadingSystemEngine. Throws an error if the SyncMediaPlayer was not created using this ReadingSystemEngine.
Loads an EPUB file into the ReadingSystemEngine.
Loads a PDF file into the ReadingSystemEngine.
Used to load an EPUB publication into the reading system. If successful, onSuccess is called with the loaded EpubReaderPublication, else onError will be called.
Used to load a PDF publication into the reading system. If successful, onSuccess is called with the loaded PdfReaderPublication, else onError will be called.
Loads a W3C Audiobook Web Publication into the ReadingSystemEngine.
Removes a previously added instance of OnLicenseEventListener.
Unloads readerPublication from the reading system. readerPublication must have been loaded using this ReadingSystemEngine instance, and its readerDocuments must not currently be in use by readerView.
Properties
The ReaderView is responsible for everything related to presentation and navigation of publication contents.