java.lang.Object | ||
↳ | android.drm.DrmEvent | |
↳ | android.drm.DrmErrorEvent |
This is an entity class which would be passed to caller in
onError(DrmManagerClient, DrmErrorEvent)
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | TYPE_NOT_SUPPORTED | TYPE_NOT_SUPPORTED, when answer from server can not be handled by the native agent. | |||||||||
int | TYPE_NO_INTERNET_CONNECTION | TYPE_NO_INTERNET_CONNECTION, when the Internet connection is missing and no attempt can be made to renew rights. | |||||||||
int | TYPE_OUT_OF_MEMORY | TYPE_OUT_OF_MEMORY, when memory allocation fail during renewal. | |||||||||
int | TYPE_PROCESS_DRM_INFO_FAILED | TYPE_PROCESS_DRM_INFO_FAILED, when failed to process DrmInfo. | |||||||||
int | TYPE_REMOVE_ALL_RIGHTS_FAILED | TYPE_REMOVE_ALL_RIGHTS_FAILED, when failed to remove all the rights objects associated with all DRM schemes. | |||||||||
int | TYPE_RIGHTS_NOT_INSTALLED | TYPE_RIGHTS_NOT_INSTALLED, when something went wrong installing the rights. | |||||||||
int | TYPE_RIGHTS_RENEWAL_NOT_ALLOWED | TYPE_RIGHTS_RENEWAL_NOT_ALLOWED, when the server rejects renewal of rights. |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
android.drm.DrmEvent
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
constructor to create DrmErrorEvent object with given parameters
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
android.drm.DrmEvent
| |||||||||||
From class
java.lang.Object
|
TYPE_NOT_SUPPORTED, when answer from server can not be handled by the native agent.
TYPE_NO_INTERNET_CONNECTION, when the Internet connection is missing and no attempt can be made to renew rights.
TYPE_OUT_OF_MEMORY, when memory allocation fail during renewal. Can in the future perhaps be used to trigger garbage collector.
TYPE_PROCESS_DRM_INFO_FAILED, when failed to process DrmInfo.
TYPE_REMOVE_ALL_RIGHTS_FAILED, when failed to remove all the rights objects associated with all DRM schemes.
TYPE_RIGHTS_NOT_INSTALLED, when something went wrong installing the rights.
TYPE_RIGHTS_RENEWAL_NOT_ALLOWED, when the server rejects renewal of rights.
constructor to create DrmErrorEvent object with given parameters
uniqueId | Unique session identifier |
---|---|
type | Type of information |
message | Message description |