EpubResourceProviderLoadConfig

class EpubResourceProviderLoadConfig(val resourceProvider: ResourceProvider, val readingSessionOptions: ReadingSessionOptions, val readerPublicationOptions: EpubReaderPublicationOptions = EpubReaderPublicationOptions(), val hashSignature: String, val encryptionMethods: List<EncryptionMethod> = emptyList())

Used with ReadingSystemEngine.loadEpub to load EPUB publications using a ResourceProvider.

Constructors

Link copied to clipboard
fun EpubResourceProviderLoadConfig(resourceProvider: ResourceProvider, readingSessionOptions: ReadingSessionOptions, readerPublicationOptions: EpubReaderPublicationOptions = EpubReaderPublicationOptions(), hashSignature: String, encryptionMethods: List<EncryptionMethod> = emptyList())

Properties

Link copied to clipboard

A list of EncryptionMethod implementations used for decrypting encrypted resources inside the publication.

Link copied to clipboard

A string that uniquely identifies the EPUB container and its resources, such as a SHA hash of all the publication resources.

Link copied to clipboard

Options related to processing and presentation of the EPUB publication.

Link copied to clipboard

This data is used to identify reading session using a combination of a user token and publication token. The values that should be used are dependent on your Product Commercial Agreement. This data should be anonymized in order to protect the user's privacy. This information will be sent to Colibrio License Server.

Link copied to clipboard

The ResourceProvider from where the framework can fetch publication resources.