Most visited

Recently visited

Added in API level 24

DrmInitData

public abstract class DrmInitData
extends Object

java.lang.Object
   ↳ android.media.DrmInitData


Encapsulates initialization data required by a MediaDrm instance.

Summary

Nested classes

class DrmInitData.SchemeInitData

Scheme initialization data. 

Public methods

abstract DrmInitData.SchemeInitData get(UUID schemeUuid)

Retrieves initialization data for a given DRM scheme, specified by its UUID.

Inherited methods

From class java.lang.Object

Public methods

get

Added in API level 24
DrmInitData.SchemeInitData get (UUID schemeUuid)

Retrieves initialization data for a given DRM scheme, specified by its UUID.

Parameters
schemeUuid UUID: The DRM scheme's UUID.
Returns
DrmInitData.SchemeInitData The initialization data for the scheme, or null if the scheme is not supported.

Hooray!