LcpContentProtectionService class

Properties

credentials String?
Credentials used to unlock this Publication.
no setter
error → UserException?
The error raised when trying to unlock the Publication, if any.
no setter
hashCode int
The hash code for this object.
no setterinherited
isRestricted bool
Whether the Publication has a restricted access to its resources, and can't be rendered in a Navigator.
no setter
license LcpLicense?
final
Links which will be added to Publication.links. It can be used to expose a web API for the service, through Publication.get.
no setterinherited
name → LocalizedString
User-facing name for this Content Protection, e.g. "Readium LCP". It could be used in a sentence such as "Protected by {name}"
no setter
rights → UserRights
Manages consumption of user rights and permissions.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serviceType Type
This is the supertype of the service that the subclass is implementing
no setterinherited

Methods

close() → void
Closes any opened file handles, removes temporary files, etc.
inherited
get(Link link) → Resource?
A service can return a Resource to:
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited