java.lang.Object | ||
↳ | android.drm.DrmEvent | |
↳ | android.drm.DrmErrorEvent |
An entity class that is passed to the
onError()
callback.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | TYPE_ACQUIRE_DRM_INFO_FAILED |
Failed to acquire DrmInfo .
|
|||||||||
int | TYPE_NOT_SUPPORTED | Response from the server cannot be handled by the DRM plug-in (agent). | |||||||||
int | TYPE_NO_INTERNET_CONNECTION | An Internet connection is not available and no attempt can be made to renew rights. | |||||||||
int | TYPE_OUT_OF_MEMORY | Memory allocation failed during renewal. | |||||||||
int | TYPE_PROCESS_DRM_INFO_FAILED |
Failed to process DrmInfo .
|
|||||||||
int | TYPE_REMOVE_ALL_RIGHTS_FAILED | Failed to remove all the rights objects associated with all DRM schemes. | |||||||||
int | TYPE_RIGHTS_NOT_INSTALLED | Something went wrong installing the rights. | |||||||||
int | TYPE_RIGHTS_RENEWAL_NOT_ALLOWED | The server rejected the renewal of rights. |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
android.drm.DrmEvent
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a
DrmErrorEvent object with the specified parameters.
| |||||||||||
Creates a
DrmErrorEvent object with the specified parameters.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
android.drm.DrmEvent
| |||||||||||
From class
java.lang.Object
|
Failed to acquire DrmInfo
. This error event is sent when an
acquireDrmInfo()
call fails.
Response from the server cannot be handled by the DRM plug-in (agent).
An Internet connection is not available and no attempt can be made to renew rights.
Memory allocation failed during renewal. Can in the future perhaps be used to trigger garbage collector.
Failed to process DrmInfo
. This error event is sent when a
processDrmInfo()
call fails.
Failed to remove all the rights objects associated with all DRM schemes.
Something went wrong installing the rights.
The server rejected the renewal of rights.
Creates a 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. |
Creates a 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. |