-
- All Implemented Interfaces:
-
org.readium.r2.shared.publication.protection.ContentProtection
public final class FallbackContentProtection implements ContentProtection
ContentProtection implementation used as a fallback when detecting known DRMs not supported by the app.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classFallbackContentProtection.SchemeNotSupportedError
-
Constructor Summary
Constructors Constructor Description FallbackContentProtection()
-
Method Summary
Modifier and Type Method Description Try<ContentProtection.OpenResult, ContentProtection.OpenError>open(Asset asset, String credentials, Boolean allowUserInteraction)Attempts to unlock a potentially protected publication asset. -
-
Method Detail
-
open
Try<ContentProtection.OpenResult, ContentProtection.OpenError> open(Asset asset, String credentials, Boolean allowUserInteraction)
Attempts to unlock a potentially protected publication asset.
-
-
-
-