DrmErrorEvent
open classDrmErrorEvent: DrmEvent
| kotlin.Any | ||
| ↳ | android.drm.DrmEvent | |
| ↳ | android.drm.DrmErrorEvent | |
An entity class that is passed to the onError() callback.
Summary
| Constants | |
|---|---|
| static Int |
Failed to acquire |
| static Int |
Response from the server cannot be handled by the DRM plug-in (agent). |
| static Int |
An Internet connection is not available and no attempt can be made to renew rights. |
| static Int |
Memory allocation failed during renewal. |
| static Int |
Failed to process |
| static Int |
Failed to remove all the rights objects associated with all DRM schemes. |
| static Int |
Something went wrong installing the rights. |
| static Int |
The server rejected the renewal of rights. |
| Inherited constants | |
|---|---|
| Public constructors | |
|---|---|
DrmErrorEvent(uniqueId: Int, type: Int, message: String!)Creates a |
|
|
Creates a |
|
| Inherited functions | |
|---|---|
Constants
TYPE_ACQUIRE_DRM_INFO_FAILED
static valTYPE_ACQUIRE_DRM_INFO_FAILED: Int
Deprecated: Deprecated in Java.
Failed to acquire DrmInfo. This error event is sent when an acquireDrmInfo() call fails.
Value: 2008TYPE_NOT_SUPPORTED
static valTYPE_NOT_SUPPORTED: Int
Deprecated: Deprecated in Java.
Response from the server cannot be handled by the DRM plug-in (agent).
Value: 2003TYPE_NO_INTERNET_CONNECTION
static valTYPE_NO_INTERNET_CONNECTION: Int
Deprecated: Deprecated in Java.
An Internet connection is not available and no attempt can be made to renew rights.
Value: 2005TYPE_OUT_OF_MEMORY
static valTYPE_OUT_OF_MEMORY: Int
Deprecated: Deprecated in Java.
Memory allocation failed during renewal. Can in the future perhaps be used to trigger garbage collector.
Value: 2004TYPE_PROCESS_DRM_INFO_FAILED
static valTYPE_PROCESS_DRM_INFO_FAILED: Int
Deprecated: Deprecated in Java.
Failed to process DrmInfo. This error event is sent when a processDrmInfo() call fails.
Value: 2006TYPE_REMOVE_ALL_RIGHTS_FAILED
static valTYPE_REMOVE_ALL_RIGHTS_FAILED: Int
Deprecated: Deprecated in Java.
Failed to remove all the rights objects associated with all DRM schemes.
Value: 2007TYPE_RIGHTS_NOT_INSTALLED
static valTYPE_RIGHTS_NOT_INSTALLED: Int
Deprecated: Deprecated in Java.
Something went wrong installing the rights.
Value: 2001TYPE_RIGHTS_RENEWAL_NOT_ALLOWED
static valTYPE_RIGHTS_RENEWAL_NOT_ALLOWED: Int
Deprecated: Deprecated in Java.
The server rejected the renewal of rights.
Value: 2002Public constructors
DrmErrorEvent
DrmErrorEvent(
uniqueId: Int,
type: Int,
message: String!)
Creates a DrmErrorEvent object with the specified parameters.
| Parameters | |
|---|---|
uniqueId |
Int: Unique session identifier. |
type |
Int: Type of the event. Must be any of the event types defined above. |
message |
String!: Message description. It can be null. |
DrmErrorEvent
DrmErrorEvent(
uniqueId: Int,
type: Int,
message: String!,
attributes: HashMap<String!, Any!>!)
Creates a DrmErrorEvent object with the specified parameters.
| Parameters | |
|---|---|
uniqueId |
Int: Unique session identifier. |
type |
Int: Type of the event. Must be any of the event types defined above. |
message |
String!: Message description. |
attributes |
HashMap<String!, Any!>!: Attributes for extensible information. Could be any information provided by the plug-in. It can be null. |