open

open suspend override fun open(asset: Asset, credentials: String?, allowUserInteraction: Boolean): Try<ContentProtection.OpenResult, ContentProtection.OpenError>

Attempts to unlock a potentially protected publication asset.

Return

A Asset in case of success or an OpenError if the asset can't be successfully opened even in restricted mode.