ContentProtection mixin
Bridge between a Content Protection technology and the Readium toolkit.
Its responsibilities are to:
- Unlock a publication by returning a customized Fetcher.
- Create a ContentProtectionService publication service.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
open(
PublicationAsset asset, Fetcher fetcher, String? credentials, bool allowUserInteraction, Object sender) → Future< Try< ProtectedAsset, UserException> ?> - Attempts to unlock a potentially protected file.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited