java.lang.Object | |
↳ | android.drm.DrmInfoRequest |
This is an entity class used to pass required parameters to get
the necessary information to communicate with online DRM server
An instance of this class is passed to acquireDrmInfo(DrmInfoRequest)
to get the instance of DrmInfo
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | ACCOUNT_ID | Key to pass the unique id for the account or the user | |||||||||
String | SUBSCRIPTION_ID | Key to pass the unique id used for subscription | |||||||||
int | TYPE_REGISTRATION_INFO | Constants defines the type of DrmInfoRequest
|
|||||||||
int | TYPE_RIGHTS_ACQUISITION_INFO | ||||||||||
int | TYPE_RIGHTS_ACQUISITION_PROGRESS_INFO | ||||||||||
int | TYPE_UNREGISTRATION_INFO |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
constructor to create DrmInfoRequest object with type and mimetype
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Retrieves the value of given key, if not found returns null
| |||||||||||
Returns Information type associated with this instance
| |||||||||||
Returns the mimetype associated with this object
| |||||||||||
Returns Iterator object to walk through the values associated with this instance
| |||||||||||
Returns Iterator object to walk through the keys associated with this instance
| |||||||||||
Adds optional information as
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Key to pass the unique id for the account or the user
Key to pass the unique id used for subscription
Constants defines the type of DrmInfoRequest
constructor to create DrmInfoRequest object with type and mimetype
infoType | Type of information |
---|---|
mimeType | MIME type |
Retrieves the value of given key, if not found returns null
key | Key whose value to be retrieved |
---|
Returns Information type associated with this instance
Returns the mimetype associated with this object
Returns Iterator object to walk through the values associated with this instance
Returns Iterator object to walk through the keys associated with this instance
Adds optional information as
key | Key to add |
---|---|
value | Value to add |