java.lang.Object | |
↳ | android.drm.DrmEvent |
Known Direct Subclasses |
A base class that is used to send asynchronous event information from the DRM framework.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | DRM_INFO_OBJECT | The key that is used in the attributes HashMap to pass the
DrmInfo object. |
|||||||||
String | DRM_INFO_STATUS_OBJECT | The key that is used in the attributes HashMap to pass the return status. |
|||||||||
int | TYPE_ALL_RIGHTS_REMOVED | All of the rights information associated with all DRM schemes have been successfully removed. | |||||||||
int | TYPE_DRM_INFO_PROCESSED | The given DRM information has been successfully processed. |
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a
DrmEvent object with the specified parameters. | |||||||||||
Creates a
DrmEvent object with the specified parameters. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Retrieves the attribute associated with the specified key.
| |||||||||||
Retrieves the message description associated with this object.
| |||||||||||
Retrieves the type of information that is associated with this object.
| |||||||||||
Retrieves the unique session identifier associated with this object.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
The key that is used in the attributes
HashMap to pass the
DrmInfo
object.
The key that is used in the attributes
HashMap to pass the return status.
All of the rights information associated with all DRM schemes have been successfully removed.
The given DRM information has been successfully processed.
Creates a DrmEvent
object with the specified parameters.
uniqueId | Unique session identifier. |
---|---|
type | Type of information. |
message | Message description. |
attributes | Attributes for extensible information. |
Creates a DrmEvent
object with the specified parameters.
uniqueId | Unique session identifier. |
---|---|
type | Type of information. |
message | Message description. |
Retrieves the attribute associated with the specified key.
Retrieves the message description associated with this object.
Retrieves the type of information that is associated with this object.
Retrieves the unique session identifier associated with this object.