to top
Android APIs
public class

DrmUtils

extends Object
java.lang.Object
   ↳ android.drm.DrmUtils

Class Overview

A utility class that provides operations for parsing extended metadata embedded in DRM constraint information. If a DRM scheme has specific constraints beyond the standard constraints, the constraints will show up in the EXTENDED_METADATA key. You can use DrmUtils.ExtendedMetadataParser to iterate over those values.

Summary

Nested Classes
class DrmUtils.ExtendedMetadataParser Utility that parses extended metadata embedded in DRM constraint information. 
Public Constructors
DrmUtils()
Public Methods
static DrmUtils.ExtendedMetadataParser getExtendedMetadataParser(byte[] extendedMetadata)
Gets an instance of DrmUtils.ExtendedMetadataParser, which can be used to parse extended metadata embedded in DRM constraint information.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public DrmUtils ()

Added in API level 11

Public Methods

public static DrmUtils.ExtendedMetadataParser getExtendedMetadataParser (byte[] extendedMetadata)

Added in API level 11

Gets an instance of DrmUtils.ExtendedMetadataParser, which can be used to parse extended metadata embedded in DRM constraint information.

Parameters
extendedMetadata Object in which key-value pairs of extended metadata are embedded.