WpAudioPublication

Represents a W3C Audiobooks publication loaded into the AudioReadingSystemEngine.

Properties

Link copied to clipboard

The ResourceProvider instance used to fetch publication resources.

Link copied to clipboard
abstract val coverImageUrl: String?

Get the URL to the cover image resource declared in this publication, if any.

Link copied to clipboard
abstract val hashSignature: String

The generated hash signature of the publication, intended to uniquely identify this publication. The hash signature is not the same as the publication id as the hash signature always changes when the publication data changes in any way. The uniqueness of the signature depends on how the publication was loaded. Please refer the implementation responsible for loading this instance.

Link copied to clipboard
abstract val manifest: WpManifest

The parsed and normalized Web Publication Manifest for this publication.

Link copied to clipboard

Metadata about the audio publication.

Link copied to clipboard
abstract val navigationResourceUrl: Uri?

Get the URL to the resource containing the navigation structure for this publication, if any.

Link copied to clipboard
abstract val profiles: List<String>

Get the profiles of this publication.

Link copied to clipboard
abstract val spine: List<WpAudioDocument>

The ordered list of WpAudioDocument instances in this publication.

Functions

Link copied to clipboard
abstract suspend fun createAudioTimeline(audioDocuments: List<WpAudioDocument>): ColibrioResult<AudioTimeline>

Create an AudioTimeline representing the playback order of this audio publication.

Link copied to clipboard