public static interface DrmStore.ConstraintsColumns
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.Modifier and Type | Field and Description |
---|---|
static String |
EXTENDED_METADATA
This is a user-defined constraint.
|
static String |
LICENSE_AVAILABLE_TIME
This is a duration-based constaint.
|
static String |
LICENSE_EXPIRY_TIME
This is a date-based constaint.
|
static String |
LICENSE_START_TIME
This is a date-based constraint.
|
static String |
MAX_REPEAT_COUNT
This is a count-based constraint.
|
static String |
REMAINING_REPEAT_COUNT
This is a count-based constraint.
|
static final String MAX_REPEAT_COUNT
action
.
Type: INTEGER
static final String REMAINING_REPEAT_COUNT
action
.
Type: INTEGER
static final String LICENSE_START_TIME
action
can be performed on
the rights-protected content.
Type: TEXT
static final String LICENSE_EXPIRY_TIME
action
can not be performed on
the rights-protected content.
Type: TEXT
static final String LICENSE_AVAILABLE_TIME
Type: TEXT
static final String EXTENDED_METADATA
Type: TEXT