Modifier and Type | Class and Description |
---|---|
static interface |
MediaDrm.KeyRequest.RequestType |
Modifier and Type | Field and Description |
---|---|
static int |
REQUEST_TYPE_INITIAL
Key request type is initial license request
|
static int |
REQUEST_TYPE_RELEASE
Key request type is license release
|
static int |
REQUEST_TYPE_RENEWAL
Key request type is license renewal
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getData()
Get the opaque message data
|
String |
getDefaultUrl()
Get the default URL to use when sending the key request message to a
server, if known.
|
int |
getRequestType()
Get the type of the request
|
public static final int REQUEST_TYPE_INITIAL
public static final int REQUEST_TYPE_RENEWAL
public static final int REQUEST_TYPE_RELEASE
public byte[] getData()
public String getDefaultUrl()
public int getRequestType()
REQUEST_TYPE_INITIAL
,
REQUEST_TYPE_RENEWAL
or REQUEST_TYPE_RELEASE