Modifier and Type | Field and Description |
---|---|
static int |
TYPE_ACQUIRE_DRM_INFO_FAILED
Failed to acquire
DrmInfo . |
static int |
TYPE_NO_INTERNET_CONNECTION
An Internet connection is not available and no attempt can be made to renew rights.
|
static int |
TYPE_NOT_SUPPORTED
Response from the server cannot be handled by the DRM plug-in (agent).
|
static int |
TYPE_OUT_OF_MEMORY
Memory allocation failed during renewal.
|
static int |
TYPE_PROCESS_DRM_INFO_FAILED
Failed to process
DrmInfo . |
static int |
TYPE_REMOVE_ALL_RIGHTS_FAILED
Failed to remove all the rights objects associated with all DRM schemes.
|
static int |
TYPE_RIGHTS_NOT_INSTALLED
Something went wrong installing the rights.
|
static int |
TYPE_RIGHTS_RENEWAL_NOT_ALLOWED
The server rejected the renewal of rights.
|
DRM_INFO_OBJECT, DRM_INFO_STATUS_OBJECT, TYPE_ALL_RIGHTS_REMOVED, TYPE_DRM_INFO_PROCESSED
Constructor and Description |
---|
DrmErrorEvent(int uniqueId,
int type,
String message)
Creates a
DrmErrorEvent object with the specified parameters. |
DrmErrorEvent(int uniqueId,
int type,
String message,
HashMap<String,Object> attributes)
Creates a
DrmErrorEvent object with the specified parameters. |
public static final int TYPE_RIGHTS_NOT_INSTALLED
public static final int TYPE_RIGHTS_RENEWAL_NOT_ALLOWED
public static final int TYPE_NOT_SUPPORTED
public static final int TYPE_OUT_OF_MEMORY
public static final int TYPE_NO_INTERNET_CONNECTION
public static final int TYPE_PROCESS_DRM_INFO_FAILED
DrmInfo
. This error event is sent when a
processDrmInfo()
call fails.public static final int TYPE_REMOVE_ALL_RIGHTS_FAILED
public static final int TYPE_ACQUIRE_DRM_INFO_FAILED
DrmInfo
. This error event is sent when an
acquireDrmInfo()
call fails.public DrmErrorEvent(int uniqueId, int type, String message)
DrmErrorEvent
object with the specified parameters.uniqueId
- Unique session identifier.type
- Type of the event. Must be any of the event types defined above.message
- Message description. It can be null.public DrmErrorEvent(int uniqueId, int type, String message, HashMap<String,Object> attributes)
DrmErrorEvent
object with the specified parameters.uniqueId
- Unique session identifier.type
- Type of the event. Must be any of the event types defined above.message
- Message description.attributes
- Attributes for extensible information. Could be any
information provided by the plug-in. It can be null.