Android Studio Sign in
Added in API level 26

DrmInfo


class DrmInfo
kotlin.Any
   ↳ android.media.MediaPlayer.DrmInfo

Encapsulates the DRM properties of the source.

Summary

Public methods
MutableMap<UUID!, ByteArray!>!

Returns the PSSH info of the data source for each supported DRM scheme.

Array<UUID!>!

Returns the intersection of the data source and the device DRM schemes.

Public methods

getPssh

Added in API level 26
fun getPssh(): MutableMap<UUID!, ByteArray!>!

Returns the PSSH info of the data source for each supported DRM scheme.

getSupportedSchemes

Added in API level 26
fun getSupportedSchemes(): Array<UUID!>!

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.