public final class

MediaPlayer.DrmInfo

extends java.lang.Object

 java.lang.Object

↳androidx.media2.MediaPlayer.DrmInfo

Overview

Encapsulates the DRM properties of the source.

Summary

Methods
public java.util.Map<java.util.UUID, UnknownReference>getPssh()

Returns the PSSH info of the media item for each supported DRM scheme.

public java.util.List<java.util.UUID>getSupportedSchemes()

Returns the intersection of the media item and the device DRM schemes.

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

Methods

public java.util.Map<java.util.UUID, UnknownReference> getPssh()

Returns the PSSH info of the media item for each supported DRM scheme.

public java.util.List<java.util.UUID> getSupportedSchemes()

Returns the intersection of the media item and the device DRM schemes. It effectively identifies the subset of the source's DRM schemes which are supported by the device too.