|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectandroid.drm.mobile1.DrmRights
public class DrmRights
This class provides interfaces to access the DRM rights.
| Field Summary | |
|---|---|
static int |
DRM_PERMISSION_DISPLAY
The DRM permission of display. |
static int |
DRM_PERMISSION_EXECUTE
The DRM permission of execute. |
static int |
DRM_PERMISSION_PLAY
The DRM permission of play. |
static int |
DRM_PERMISSION_PRINT
The DRM permission of print. |
| Constructor Summary | |
|---|---|
DrmRights()
Construct the DrmRights. |
|
| Method Summary | |
|---|---|
boolean |
consumeRights(int permission)
Consume the rights of the given permission. |
DrmConstraintInfo |
getConstraint(int permission)
Get the constraint of the given permission on this rights object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int DRM_PERMISSION_PLAY
public static final int DRM_PERMISSION_DISPLAY
public static final int DRM_PERMISSION_EXECUTE
public static final int DRM_PERMISSION_PRINT
| Constructor Detail |
|---|
public DrmRights()
| Method Detail |
|---|
public DrmConstraintInfo getConstraint(int permission)
permission - the given permission.
public boolean consumeRights(int permission)
permission - the given permission.
|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||