public abstract class

MediaPlayer2.DrmInfo

extends java.lang.Object

 java.lang.Object

↳androidx.media2.MediaPlayer2.DrmInfo

Subclasses:

MediaPlayer2Impl.DrmInfoImpl

Overview

Encapsulates the DRM properties of the source.

Summary

Constructors
publicDrmInfo()

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

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

public abstract 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

Constructors

public DrmInfo()

Methods

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

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

public abstract 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.