DrmInfoEvent
open classDrmInfoEvent: DrmEvent
kotlin.Any | ||
↳ | android.drm.DrmEvent | |
↳ | android.drm.DrmInfoEvent |
An entity class that is passed to the onInfo()
callback.
Summary
Constants | |
---|---|
static Int |
The registration has already been done for the given account. |
static Int |
The registration has already been done by another account ID. |
static Int |
The rights need to be removed completely. |
static Int |
The rights have been successfully downloaded and installed. |
static Int |
The rights have been removed. |
static Int |
The rights object is being delivered to the device. |
Inherited constants | |
---|---|
Public constructors | |
---|---|
DrmInfoEvent(uniqueId: Int, type: Int, message: String!) Creates a |
|
Creates a |
Inherited functions | |
---|---|
Constants
TYPE_ACCOUNT_ALREADY_REGISTERED
static valTYPE_ACCOUNT_ALREADY_REGISTERED: Int
Deprecated: Deprecated in Java.
The registration has already been done for the given account.
Value: 5
TYPE_ALREADY_REGISTERED_BY_ANOTHER_ACCOUNT
static valTYPE_ALREADY_REGISTERED_BY_ANOTHER_ACCOUNT: Int
Deprecated: Deprecated in Java.
The registration has already been done by another account ID.
Value: 1
TYPE_REMOVE_RIGHTS
static valTYPE_REMOVE_RIGHTS: Int
Deprecated: Deprecated in Java.
The rights need to be removed completely.
Value: 2
TYPE_RIGHTS_INSTALLED
static valTYPE_RIGHTS_INSTALLED: Int
Deprecated: Deprecated in Java.
The rights have been successfully downloaded and installed.
Value: 3
TYPE_RIGHTS_REMOVED
static valTYPE_RIGHTS_REMOVED: Int
Deprecated: Deprecated in Java.
The rights have been removed.
Value: 6
TYPE_WAIT_FOR_RIGHTS
static valTYPE_WAIT_FOR_RIGHTS: Int
Deprecated: Deprecated in Java.
The rights object is being delivered to the device. You must wait before calling acquireRights()
again.
Value: 4
Public constructors
DrmInfoEvent
DrmInfoEvent(
uniqueId: Int,
type: Int,
message: String!)
Creates a DrmInfoEvent
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, or the constants defined in DrmEvent . |
message |
String!: Message description. It can be null. |
DrmInfoEvent
DrmInfoEvent(
uniqueId: Int,
type: Int,
message: String!,
attributes: HashMap<String!, Any!>!)
Creates a DrmInfoEvent
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, or the constants defined in DrmEvent |
message |
String!: Message description. It can be null. |
attributes |
HashMap<String!, Any!>!: Attributes for extensible information. Could be any information provided by the plug-in. |