PublicationOpener

constructor(publicationParser: PublicationParser, contentProtections: List<ContentProtection> = emptyList(), onCreatePublication: Publication.Builder.() -> Unit = {})

Parameters

publicationParser

Parses the content of a publication Asset.

contentProtections

Opens DRM-protected publications.

onCreatePublication

Called on every parsed Publication.Builder. It can be used to modify the manifest, the root container or the list of service factories of a Publication.