java.lang.Object | ||
↳ | android.drm.DrmEvent | |
↳ | android.drm.DrmInfoEvent |
An entity class that is passed to the
onInfo()
callback.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | TYPE_ACCOUNT_ALREADY_REGISTERED | The registration has already been done for the given account. | |||||||||
int | TYPE_ALREADY_REGISTERED_BY_ANOTHER_ACCOUNT | The registration has already been done by another account ID. | |||||||||
int | TYPE_REMOVE_RIGHTS | The rights need to be removed completely. | |||||||||
int | TYPE_RIGHTS_INSTALLED | The rights have been successfully downloaded and installed. | |||||||||
int | TYPE_RIGHTS_REMOVED | The rights have been removed. | |||||||||
int | TYPE_WAIT_FOR_RIGHTS | The rights object is being delivered to the device. |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
android.drm.DrmEvent
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a
DrmInfoEvent object with the specified parameters.
| |||||||||||
Creates a
DrmInfoEvent object with the specified parameters.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
android.drm.DrmEvent
| |||||||||||
From class
java.lang.Object
|
The registration has already been done for the given account.
The registration has already been done by another account ID.
The rights need to be removed completely.
The rights have been successfully downloaded and installed.
The rights have been removed.
The rights object is being delivered to the device. You must wait before
calling acquireRights()
again.
Creates a DrmInfoEvent
object with the specified parameters.
uniqueId | Unique session identifier. |
---|---|
type | Type of the event. Must be any of the event types defined above,
or the constants defined in DrmEvent . |
message | Message description. It can be null. |
Creates a DrmInfoEvent
object with the specified parameters.
uniqueId | Unique session identifier. |
---|---|
type | Type of the event. Must be any of the event types defined above,
or the constants defined in DrmEvent |
message | Message description. It can be null. |
attributes | Attributes for extensible information. Could be any information provided by the plug-in. |