Modifier and Type | Field and Description |
---|---|
static int |
TYPE_ACCOUNT_ALREADY_REGISTERED
The registration has already been done for the given account.
|
static int |
TYPE_ALREADY_REGISTERED_BY_ANOTHER_ACCOUNT
The registration has already been done by another account ID.
|
static int |
TYPE_REMOVE_RIGHTS
The rights need to be removed completely.
|
static int |
TYPE_RIGHTS_INSTALLED
The rights have been successfully downloaded and installed.
|
static int |
TYPE_RIGHTS_REMOVED
The rights have been removed.
|
static int |
TYPE_WAIT_FOR_RIGHTS
The rights object is being delivered to the device.
|
DRM_INFO_OBJECT, DRM_INFO_STATUS_OBJECT, TYPE_ALL_RIGHTS_REMOVED, TYPE_DRM_INFO_PROCESSED
Constructor and Description |
---|
DrmInfoEvent(int uniqueId,
int type,
String message)
Creates a
DrmInfoEvent object with the specified parameters. |
DrmInfoEvent(int uniqueId,
int type,
String message,
HashMap<String,Object> attributes)
Creates a
DrmInfoEvent object with the specified parameters. |
public static final int TYPE_ALREADY_REGISTERED_BY_ANOTHER_ACCOUNT
public static final int TYPE_REMOVE_RIGHTS
public static final int TYPE_RIGHTS_INSTALLED
public static final int TYPE_WAIT_FOR_RIGHTS
acquireRights()
again.public static final int TYPE_ACCOUNT_ALREADY_REGISTERED
public static final int TYPE_RIGHTS_REMOVED
public DrmInfoEvent(int uniqueId, int type, String message)
DrmInfoEvent
object with the specified parameters.uniqueId
- Unique session identifier.type
- Type of the event. Must be any of the event types defined above,
or the constants defined in DrmEvent
.message
- Message description. It can be null.public DrmInfoEvent(int uniqueId, int type, String message, HashMap<String,Object> attributes)
DrmInfoEvent
object with the specified parameters.uniqueId
- Unique session identifier.type
- Type of the event. Must be any of the event types defined above,
or the constants defined in DrmEvent
message
- Message description. It can be null.attributes
- Attributes for extensible information. Could be any
information provided by the plug-in.