Class Overview
An entity class that is passed to the
onInfo()
callback.
Summary
Public Constructors |
|
DrmInfoEvent(int uniqueId, int type, String message)
Creates a DrmInfoEvent object with the specified parameters.
|
|
DrmInfoEvent(int uniqueId, int type, String message, HashMap<String, Object> attributes)
Creates a DrmInfoEvent object with the specified parameters.
|
[Expand]
Inherited Methods |
From class
android.drm.DrmEvent
Object
|
getAttribute(String key)
Retrieves the attribute associated with the specified key.
|
String
|
getMessage()
Retrieves the message description associated with this object.
|
int
|
getType()
Retrieves the type of information that is associated with this object.
|
int
|
getUniqueId()
Retrieves the unique session identifier associated with this object.
|
|
From class
java.lang.Object
Object
|
clone()
Creates and returns a copy of this Object .
|
boolean
|
equals(Object o)
Compares this instance with the specified object and indicates if they
are equal.
|
void
|
finalize()
Invoked when the garbage collector has detected that this instance is no longer reachable.
|
final
Class<?>
|
getClass()
Returns the unique instance of Class that represents this
object's class.
|
int
|
hashCode()
Returns an integer hash code for this object.
|
final
void
|
notify()
Causes a thread which is waiting on this object's monitor (by means of
calling one of the wait() methods) to be woken up.
|
final
void
|
notifyAll()
Causes all threads which are waiting on this object's monitor (by means
of calling one of the wait() methods) to be woken up.
|
String
|
toString()
Returns a string containing a concise, human-readable description of this
object.
|
final
void
|
wait()
Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object.
|
final
void
|
wait(long millis, int nanos)
Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the
specified timeout expires.
|
final
void
|
wait(long millis)
Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the
specified timeout expires.
|
|
Constants
public
static
final
int
TYPE_ACCOUNT_ALREADY_REGISTERED
The registration has already been done for the given account.
Constant Value:
5
(0x00000005)
public
static
final
int
TYPE_ALREADY_REGISTERED_BY_ANOTHER_ACCOUNT
The registration has already been done by another account ID.
Constant Value:
1
(0x00000001)
public
static
final
int
TYPE_REMOVE_RIGHTS
The rights need to be removed completely.
Constant Value:
2
(0x00000002)
public
static
final
int
TYPE_RIGHTS_INSTALLED
The rights have been successfully downloaded and installed.
Constant Value:
3
(0x00000003)
public
static
final
int
TYPE_RIGHTS_REMOVED
The rights have been removed.
Constant Value:
6
(0x00000006)
public
static
final
int
TYPE_WAIT_FOR_RIGHTS
The rights object is being delivered to the device. You must wait before
calling acquireRights()
again.
Constant Value:
4
(0x00000004)
Public Constructors
public
DrmInfoEvent
(int uniqueId, int type, String message)
Creates a DrmInfoEvent
object with the specified parameters.
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.
|
public
DrmInfoEvent
(int uniqueId, int type, String message, HashMap<String, Object> attributes)
Creates a DrmInfoEvent
object with the specified parameters.
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.
|