Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
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 ()

Public Methods

public 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.

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