Share via


DrmStore.IConstraintsColumns Interface

Definition

Interface definition for the columns that represent DRM constraints.

public interface DrmStore.IConstraintsColumns
type DrmStore.IConstraintsColumns = interface

Remarks

Interface definition for the columns that represent DRM constraints. android.drm.DrmManagerClient#getConstraints DrmManagerClient.getConstraints() can be called by an application to find out the contraints on the android.drm.DrmStore.Action 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 extended metadata, can be used if these three types of constraints are not sufficient.

Java documentation for android.drm.DrmStore.ConstraintsColumns.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Fields

ExtendedMetadata

This is a user-defined constraint.

LicenseAvailableTime

This is a duration-based constaint.

LicenseExpiryTime

This is a date-based constaint.

LicenseStartTime

This is a date-based constraint.

MaxRepeatCount

This is a count-based constraint.

RemainingRepeatCount

This is a count-based constraint.

Applies to