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

Public methods

get

added in API level 24
public abstract 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.