ExoMediaDrm.KeyStatus
Artifact: androidx.media3:media3-exoplayer
public final class ExoMediaDrm.KeyStatus
Defines the status of a key.
| See also | |
|---|---|
MediaDrm.KeyStatus |
Summary
Public fields |
|
|---|---|
final byte[] |
|
final int |
Public constructors |
|---|
KeyStatus(int statusCode, byte[] keyId)Creates an instance. |
Public methods |
|
|---|---|
byte[] |
getKeyId()Returns the ID of the key. |
int |
Returns the status of the key, as defined by |
Public constructors
KeyStatus
public KeyStatus(int statusCode, byte[] keyId)
Creates an instance.
| Parameters | |
|---|---|
int statusCode |
The status code of the key, as defined by |
byte[] keyId |
The ID of the key. |
Public methods
getStatusCode
public int getStatusCode()
Returns the status of the key, as defined by getStatusCode.