ConstraintsColumns
interfaceConstraintsColumns
android.drm.DrmStore.ConstraintsColumns |
Interface definition for the columns that represent DRM constraints. android.drm.DrmManagerClient#getConstraints can be called by an application to find out the contraints on the actions
that can be performed on right-protected content. The constants defined in this interface represent three most common types of constraints: count-based, date-based, and duration-based. Two or more constraints can be used at the same time to represent more sophisticated constraints. In addition, user-defined constraint, extended metadata
, can be used if these three types of constraints are not sufficient.
Summary
Constants | |
---|---|
static String |
This is a user-defined constraint. |
static String |
This is a duration-based constaint. |
static String |
This is a date-based constaint. |
static String |
This is a date-based constraint. |
static String |
This is a count-based constraint. |
static String |
This is a count-based constraint. |
Constants
EXTENDED_METADATA
static valEXTENDED_METADATA: String
Deprecated: Deprecated in Java.
This is a user-defined constraint. It represents the additional constraint using extended metadata.
Type: TEXT
Value: "extended_metadata"
LICENSE_AVAILABLE_TIME
static valLICENSE_AVAILABLE_TIME: String
Deprecated: Deprecated in Java.
This is a duration-based constaint. It represents the available time left before the license expires.
Type: TEXT
Value: "license_available_time"
LICENSE_EXPIRY_TIME
static valLICENSE_EXPIRY_TIME: String
Deprecated: Deprecated in Java.
This is a date-based constaint. It represents the time after which an action
can not be performed on the rights-protected content.
Type: TEXT
Value: "license_expiry_time"
LICENSE_START_TIME
static valLICENSE_START_TIME: String
Deprecated: Deprecated in Java.
This is a date-based constraint. It represents the time before which an action
can be performed on the rights-protected content.
Type: TEXT
Value: "license_start_time"
MAX_REPEAT_COUNT
static valMAX_REPEAT_COUNT: String
Deprecated: Deprecated in Java.
This is a count-based constraint. It represents the maximum repeat count that can be performed on an action
.
Type: INTEGER
Value: "max_repeat_count"
REMAINING_REPEAT_COUNT
static valREMAINING_REPEAT_COUNT: String
Deprecated: Deprecated in Java.
This is a count-based constraint. It represents the remaining repeat count that can be performed on an action
.
Type: INTEGER
Value: "remaining_repeat_count"