public final class

MediaPlayer2Impl.DrmInfoImpl

extends MediaPlayer2.DrmInfo

 java.lang.Object

androidx.media2.MediaPlayer2.DrmInfo

↳androidx.media2.MediaPlayer2Impl.DrmInfoImpl

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.