MediaPlayer.DrmInfo
public
static
final
class
MediaPlayer.DrmInfo
extends Object
java.lang.Object | |
↳ | android.media.MediaPlayer.DrmInfo |
Encapsulates the DRM properties of the source.
Summary
Public methods | |
---|---|
Map<UUID, byte[]>
|
getPssh()
Returns the PSSH info of the data source for each supported DRM scheme. |
UUID[]
|
getSupportedSchemes()
Returns the intersection of the data source and the device DRM schemes. |
Inherited methods | |
---|---|
Public methods
getPssh
public Map<UUID, byte[]> getPssh ()
Returns the PSSH info of the data source for each supported DRM scheme.
Returns | |
---|---|
Map<UUID, byte[]> |
getSupportedSchemes
public UUID[] getSupportedSchemes ()
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.
Returns | |
---|---|
UUID[] |