java.lang.Object | |
↳ | android.drm.DrmInfoRequest |
An entity class that is used to pass information to an online DRM server. An instance of this
class is passed to the acquireDrmInfo()
method to get an
instance of a DrmInfo
.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | ACCOUNT_ID | Key that is used to pass the unique session ID for the account or the user. | |||||||||
String | SUBSCRIPTION_ID | Key that is used to pass the unique session ID for the subscription. | |||||||||
int | TYPE_REGISTRATION_INFO | Acquires DRM server registration information. | |||||||||
int | TYPE_RIGHTS_ACQUISITION_INFO | Acquires rights information. | |||||||||
int | TYPE_RIGHTS_ACQUISITION_PROGRESS_INFO | Acquires the progress of the rights acquisition. | |||||||||
int | TYPE_UNREGISTRATION_INFO | Acquires information for unregistering the DRM server. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a
DrmInfoRequest object with type and MIME type.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Retrieves the value of a given key.
| |||||||||||
Retrieves the information type associated with this object.
| |||||||||||
Retrieves the MIME type associated with this object.
| |||||||||||
Retrieves an iterator object that you can use to iterate over the values associated with
this
DrmInfoRequest object.
| |||||||||||
Retrieves an iterator object that you can use to iterate over the keys associated with
this
DrmInfoRequest object.
| |||||||||||
Adds optional information as key-value pairs to this object.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Key that is used to pass the unique session ID for the account or the user.
Key that is used to pass the unique session ID for the subscription.
Acquires DRM server registration information.
Acquires rights information.
Acquires the progress of the rights acquisition.
Acquires information for unregistering the DRM server.
Creates a DrmInfoRequest
object with type and MIME type.
infoType | Type of information. |
---|---|
mimeType | MIME type. |
Retrieves the value of a given key.
key | The key whose value is being retrieved. |
---|
Retrieves the information type associated with this object.
Retrieves the MIME type associated with this object.
Retrieves an iterator object that you can use to iterate over the values associated with
this DrmInfoRequest
object.
Retrieves an iterator object that you can use to iterate over the keys associated with
this DrmInfoRequest
object.
Adds optional information as key-value pairs to this object.
key | The key to add. |
---|---|
value | The value to add. |