-
- 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 LcpExceptionerrorprivate final List<Link>linksprivate final LocalizedStringname
-
Constructor Summary
Constructors Constructor Description LcpContentProtectionService(LcpLicense license, LcpException error)
-
Method Summary
Modifier and Type Method Description BooleanisRestricted()StringgetCredentials()ContentProtectionService.UserRightsgetRights()ContentProtection.SchemegetScheme()final LcpLicensegetLicense()LcpExceptiongetError()-
Methods inherited from class org.readium.r2.shared.publication.services.ContentProtectionService
get, getLinks, getName -
Methods inherited from class org.readium.r2.shared.publication.Publication.Service
close -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
LcpContentProtectionService
LcpContentProtectionService(LcpLicense license, LcpException error)
-
-
Method Detail
-
isRestricted
Boolean isRestricted()
-
getCredentials
String getCredentials()
-
getRights
ContentProtectionService.UserRights getRights()
-
getScheme
ContentProtection.Scheme getScheme()
-
getLicense
final LcpLicense getLicense()
-
getError
LcpException getError()
-
-
-
-