load Publication
abstract fun loadPublication(config: PublicationLoadConfiguration.Epub, onSuccess: (EpubReaderPublication) -> Unit, onError: (ColibrioException) -> Unit)
Deprecated
This method will be removed in version 4.0.0 of the framework. Use loadEpub() instead
Used to load an EPUB publication into the reading system. If successful, onSuccess is called with the loaded EpubReaderPublication, else onError will be called.
abstract fun loadPublication(config: PublicationLoadConfiguration.Pdf, onSuccess: (PdfReaderPublication) -> Unit, onError: (ColibrioException) -> Unit)
Deprecated
This method will be removed in version 4.0.0 of the framework. Use loadPdf() instead
Used to load a PDF publication into the reading system. If successful, onSuccess is called with the loaded PdfReaderPublication, else onError will be called.