-
- All Implemented Interfaces:
-
org.readium.r2.shared.publication.Publication.Service,org.readium.r2.shared.publication.services.ContentProtectionService,org.readium.r2.shared.util.Closeable
public final class LcpContentProtectionService implements ContentProtectionService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classLcpContentProtectionService.Companion
-
Field Summary
Fields Modifier and Type Field Description private final BooleanisRestrictedprivate final Stringcredentialsprivate final ContentProtectionService.UserRightsrightsprivate final ContentProtection.Schemeschemeprivate final LcpLicenselicenseprivate final LcpErrorerrorprivate final Stringname
-
Constructor Summary
Constructors Constructor Description LcpContentProtectionService(LcpLicense license, LcpError error)
-
Method Summary
Modifier and Type Method Description BooleangetIsRestricted()StringgetCredentials()ContentProtectionService.UserRightsgetRights()ContentProtection.SchemegetScheme()final LcpLicensegetLicense()LcpErrorgetError()StringgetName()Unitclose()-
-
Constructor Detail
-
LcpContentProtectionService
LcpContentProtectionService(LcpLicense license, LcpError error)
-
-
Method Detail
-
getIsRestricted
Boolean getIsRestricted()
-
getCredentials
String getCredentials()
-
getRights
ContentProtectionService.UserRights getRights()
-
getScheme
ContentProtection.Scheme getScheme()
-
getLicense
final LcpLicense getLicense()
-
-
-
-