WpAudiobookRandomAccessDataSourceLoadConfig

class WpAudiobookRandomAccessDataSourceLoadConfig(val publicationDataSource: RandomAccessDataSource, val readingSessionOptions: ReadingSessionOptions, val readerPublicationOptions: WpAudiobookReaderPublicationOptions = WpAudiobookReaderPublicationOptions(), val zipResourceProviderOptions: ZipResourceProviderOptions = ZipResourceProviderOptions())

Used with ReadingSystemEngine.loadWpAudiobook to load a W3C Audiobook Web Publication packaged as an LPF file, using a RandomAccessDataSource.

Constructors

fun WpAudiobookRandomAccessDataSourceLoadConfig(publicationDataSource: RandomAccessDataSource, readingSessionOptions: ReadingSessionOptions, readerPublicationOptions: WpAudiobookReaderPublicationOptions = WpAudiobookReaderPublicationOptions(), zipResourceProviderOptions: ZipResourceProviderOptions = ZipResourceProviderOptions())

Properties

Link copied to clipboard

A RandomAccessDataSource implementation used for retrieving the LPF file data.

Link copied to clipboard

Options related to processing and presentation of the 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 ZipResourceProvider is responsible for extracting resources from the LPF file, i.e. the publicationDataSource These options configures how the ZipResourceProvider will use the publicationDataSource when fetching data chunks.