java.lang.Object | |
↳ | android.media.MediaDrm.KeyRequest |
Contains the opaque data an app uses to request keys from a license server
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | REQUEST_TYPE_INITIAL | Key request type is initial license request | |||||||||
int | REQUEST_TYPE_RELEASE | Key request type is license release | |||||||||
int | REQUEST_TYPE_RENEWAL | Key request type is license renewal |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Get the opaque message data
| |||||||||||
Get the default URL to use when sending the key request message to a
server, if known.
| |||||||||||
Get the type of the request
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Key request type is initial license request
Key request type is license release
Key request type is license renewal
Get the default URL to use when sending the key request message to a server, if known. The app may prefer to use a different license server URL from other sources. This method returns an empty string if the default URL is not known.