-
- All Implemented Interfaces:
-
org.readium.r2.shared.publication.Publication.Service,org.readium.r2.shared.util.Closeable
public interface ContentProtectionService implements Publication.Service
Provides information about a publication's content protection and manages user rights.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceContentProtectionService.UserRightsManages consumption of user rights and permissions.
-
Method Summary
Modifier and Type Method Description abstract BooleangetIsRestricted()Whether the Publication has a restricted access to its resources, and can't be rendered in a Navigator. abstract ErrorgetError()The error raised when trying to unlock the Publication, if any. abstract StringgetCredentials()Credentials used to unlock this Publication. abstract ContentProtectionService.UserRightsgetRights()Manages consumption of user rights and permissions. ContentProtection.SchemegetScheme()StringgetName()-
-
Method Detail
-
getIsRestricted
abstract Boolean getIsRestricted()
Whether the Publication has a restricted access to its resources, and can't be rendered in a Navigator.
-
getError
abstract Error getError()
The error raised when trying to unlock the Publication, if any.
-
getCredentials
abstract String getCredentials()
Credentials used to unlock this Publication.
-
getRights
abstract ContentProtectionService.UserRights getRights()
Manages consumption of user rights and permissions.
-
getScheme
ContentProtection.Scheme getScheme()
-
-
-
-