ExoMediaDrm.KeyStatus


public final class ExoMediaDrm.KeyStatus


Defines the status of a key.

Summary

Public fields

final byte[]
final int

Public constructors

KeyStatus(int statusCode, byte[] keyId)

Creates an instance.

Public methods

byte[]

Returns the ID of the key.

int

Returns the status of the key, as defined by getStatusCode.

Public fields

keyId

public final byte[] keyId

statusCode

public final int statusCode

Public constructors

KeyStatus

public KeyStatus(int statusCode, byte[] keyId)

Creates an instance.

Parameters
int statusCode

The status code of the key, as defined by getStatusCode.

byte[] keyId

The ID of the key.

Public methods

getKeyId

public byte[] getKeyId()

Returns the ID of the key.

getStatusCode

public int getStatusCode()

Returns the status of the key, as defined by getStatusCode.