Build 1.0_r1(from source)

android.drm.mobile1
Class DrmConstraintInfo

java.lang.Object
  extended by android.drm.mobile1.DrmConstraintInfo

public class DrmConstraintInfo
extends Object

This class provides interfaces to access the DRM constraint.


Constructor Summary
DrmConstraintInfo()
          Construct the DrmConstraint.
 
Method Summary
 int getCount()
          Get the count constraint.
 Date getEndDate()
          Get the end date constraint.
 long getInterval()
          Get the Interval constraint.
 Date getStartDate()
          Get the start date constraint.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DrmConstraintInfo

DrmConstraintInfo()
Construct the DrmConstraint.

Method Detail

getCount

public int getCount()
Get the count constraint.

Returns:
the count or -1 if no limit.

getStartDate

public Date getStartDate()
Get the start date constraint.

Returns:
the start date or null if no limit.

getEndDate

public Date getEndDate()
Get the end date constraint.

Returns:
the end date or null if no limit.

getInterval

public long getInterval()
Get the Interval constraint.

Returns:
the interval or -1 if no limit.

Build 1.0_r1(from source)

Please submit a feedback, bug or feature