| android.drm.DrmStore.ConstraintsColumns |
Interface definition for the columns that represent DRM constraints. 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.
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | EXTENDED_METADATA | This is a user-defined constraint. | |||||||||
| String | LICENSE_AVAILABLE_TIME | This is a duration-based constaint. | |||||||||
| String | LICENSE_EXPIRY_TIME | This is a date-based constaint. | |||||||||
| String | LICENSE_START_TIME | This is a date-based constraint. | |||||||||
| String | MAX_REPEAT_COUNT | This is a count-based constraint. | |||||||||
| String | REMAINING_REPEAT_COUNT | This is a count-based constraint. | |||||||||
This is a user-defined constraint. It represents the additional constraint using extended metadata.
Type: TEXT
This is a duration-based constaint. It represents the available time left before the license expires.
Type: TEXT
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
This is a date-based constraint. It represents the time before which an action can be performed on the rights-protected content.
Type: TEXT
This is a count-based constraint. It represents the maximum repeat count that can be performed on an action.
Type: INTEGER
This is a count-based constraint. It represents the remaining repeat count that can be performed on an action.
Type: INTEGER