LcpContentProtectionService class Null safety
- Inheritance
-
- Object
- PublicationService
- ContentProtectionService
- LcpContentProtectionService
Constructors
- LcpContentProtectionService.createFactory(LcpLicense? license, LcpException? _error)
Properties
- credentials → String?
-
Credentials used to unlock this Publication.
read-onlyoverride
- error → UserException?
-
The error raised when trying to unlock the Publication, if any.
read-onlyoverride
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- isRestricted → bool
-
Whether the Publication has a restricted access to its resources, and can't be rendered in
a Navigator.
read-onlyoverride
- license → LcpLicense?
-
final
-
links
→ List<
Link> -
Links which will be added to Publication.links.
It can be used to expose a web API for the service, through Publication.get.
read-onlyinherited
- 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}"
read-onlyoverride
- rights → UserRights
-
Manages consumption of user rights and permissions.
read-onlyoverride
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- serviceType → Type
-
This is the supertype of the service that the subclass is implementing
read-onlyinherited
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 non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited