LcpService class abstract
- Implementers
Constructors
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
-
acquirePublication(
ByteData lcpl) → Future< Try< AcquiredPublication, LcpException> > - Acquires a protected publication from a standalone LCPL's bytes.
-
acquirePublicationFromFile(
File lcpl) → Future< Try< AcquiredPublication, LcpException> > - Acquires a protected publication from a standalone LCPL file.
-
contentProtection(
{LcpAuthenticating? authentication}) → ContentProtection -
Creates a
ContentProtection
instance which can be used with a Streamer to unlock LCP protected publications. -
isLcpProtected(
FileSystemEntity file) → Future< bool> - Returns if the publication is protected by LCP.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
retrieveLicense(
FileSystemEntity file, LcpAuthenticating? authentication, bool allowUserInteraction, dynamic sender) → Future< Try< LcpLicense, LcpException> ?> - Opens the LCP license of a protected publication, to access its DRM metadata and decipher its content.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
create(
SharedPreferences preferences, LcpClient lcpClient) → LcpService? - LCP service factory.