public final class

ExoMediaDrm.KeyStatus

extends java.lang.Object

 java.lang.Object

↳androidx.media3.exoplayer.drm.ExoMediaDrm.KeyStatus

Overview

Defines the status of a key.

Summary

Constructors
publicKeyStatus(int statusCode, byte[] keyId[])

Creates an instance.

Methods
public byte[]getKeyId()

Returns the ID of the key.

public intgetStatusCode()

Returns the status of the key, as defined by .

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructors

public KeyStatus(int statusCode, byte[] keyId[])

Creates an instance.

Parameters:

statusCode: The status code of the key, as defined by .
keyId: The ID of the key.

Methods

public int getStatusCode()

Returns the status of the key, as defined by .

public byte[] getKeyId()

Returns the ID of the key.