load Epub
Loads an EPUB file into the ReadingSystemEngine.
When loading an EPUB using this method, the EPUB file is streamed in chunks from the passed RandomAccessDataSource instance. The framework will download only the requested portions of the publication, thus minimizing load times and data usage.
Loads an EPUB file into the ReadingSystemEngine.
When loading an EPUB using this method, the EPUB file is streamed in chunks from the passed RandomAccessDataSource instance. The framework will download only the requested portions of the publication, thus minimizing load times and data usage.
Return
Either ColibrioResult.Success with the created EpubReaderPublication when successful, or ColibrioResult.Error containing the error.
Loads an EPUB file into the ReadingSystemEngine.
In this case the specified backing ResourceProvider will be used to fetch publication resources instead of extracting them from an .epub file. This allows you for example to load resource form disk or from an HTTP endpoint where the EPUB container has already been extracted.
Loads an EPUB file into the ReadingSystemEngine.
In this case the specified backing ResourceProvider will be used to fetch publication resources instead of extracting them from an .epub file. This allows you for example to load resource form disk or from an HTTP endpoint where the EPUB container has already been extracted.
Return
Either ColibrioResult.Success with the created EpubReaderPublication when successful, or ColibrioResult.Error containing the error.