LicensesService class
- Inheritance
-
- Object
- LcpService
- LicensesService
Constructors
- LicensesService(LicensesRepository licenses, CrlService crl, DeviceService device, NetworkService network, PassphrasesService passphrases, SharedPreferences preferences, LcpClient lcpClient)
Properties
- crl → CrlService
-
final
- device → DeviceService
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- lcpClient → LcpClient
-
final
- licenses → LicensesRepository
-
final
- network → NetworkService
-
final
- passphrases → PassphrasesService
-
final
- preferences → SharedPreferences
-
final
- 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.
override
-
acquirePublicationFromFile(
File lcpl) → Future< Try< AcquiredPublication, LcpException> > -
Acquires a protected publication from a standalone LCPL file.
inherited
-
contentProtection(
{LcpAuthenticating? authentication}) → ContentProtection -
Creates a
ContentProtection
instance which can be used with a Streamer to unlock LCP protected publications.inherited -
isLcpProtected(
FileSystemEntity file) → Future< bool> -
Returns if the publication is protected by LCP.
override
-
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.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited