public class

DrmInfoStatus

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

Class Overview

An entity class that wraps the result of communication between a device and an online DRM server. Specifically, when the processDrmInfo() method is called, an instance of DrmInfoStatus is returned.

This class contains the ProcessedData object, which can be used to instantiate a DrmRights object during license acquisition.

Summary

Constants
int STATUS_ERROR
int STATUS_OK
Fields
public final ProcessedData data The processed data.
public final int infoType The type of DRM information processed.
public final String mimeType The MIME type of the content.
public final int statusCode The status of the communication.
Public Constructors
DrmInfoStatus(int _statusCode, int _infoType, ProcessedData _data, String _mimeType)
Creates a DrmInfoStatus object with the specified parameters.
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int STATUS_ERROR

Since: API Level 11

Constant Value: 2 (0x00000002)

public static final int STATUS_OK

Since: API Level 11

Constant Value: 1 (0x00000001)

Fields

public final ProcessedData data

Since: API Level 11

The processed data.

public final int infoType

Since: API Level 11

The type of DRM information processed.

public final String mimeType

Since: API Level 11

The MIME type of the content.

public final int statusCode

Since: API Level 11

The status of the communication.

Public Constructors

public DrmInfoStatus (int _statusCode, int _infoType, ProcessedData _data, String _mimeType)

Since: API Level 11

Creates a DrmInfoStatus object with the specified parameters.

Parameters
_statusCode The status of the communication.
_infoType The type of the DRM information processed.
_data The processed data.
_mimeType The MIME type.