public static final class ExoMediaDrm.KeyStatus extends Object
MediaDrm.KeyStatus| Constructor | Description |
|---|---|
KeyStatus(int statusCode,
byte[] keyId) |
Creates an instance.
|
| Modifier and Type | Method | Description |
|---|---|---|
byte[] |
getKeyId() |
Returns the ID of the key.
|
int |
getStatusCode() |
Returns the status of the key, as defined by
MediaDrm.KeyStatus.getStatusCode(). |
public KeyStatus(int statusCode,
byte[] keyId)
statusCode - The status code of the key, as defined by MediaDrm.KeyStatus.getStatusCode().keyId - The ID of the key.public int getStatusCode()
MediaDrm.KeyStatus.getStatusCode().public byte[] getKeyId()