IT. Expert System.

Android Reference

DrmInfoStatus


android.drm

Class DrmInfoStatus



  • public class DrmInfoStatus
    extends Object
    An entity class that wraps the result of communication between a device and an online DRM server. Specifically, when the DrmManagerClient.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.

    • Field Detail

      • STATUS_OK

        public static final int STATUS_OK
        Indicate successful communication.
        See Also:
        Constant Field Values
      • STATUS_ERROR

        public static final int STATUS_ERROR
        Indicate failed communication.
        See Also:
        Constant Field Values
      • statusCode

        public final int statusCode
        The status of the communication. Must be one of the defined status constants above.
      • infoType

        public final int infoType
        The type of DRM information processed. Must be one of the valid type constants defined in DrmInfoRequest.
      • mimeType

        public final String mimeType
        The MIME type of the content. Must not be null or an empty string.
      • data

        public final ProcessedData data
        The processed data. It is optional and thus could be null. When it is null, it indicates that a particular call to DrmManagerClient.processDrmInfo() does not return any additional useful information except for the status code.
    • Constructor Detail

      • DrmInfoStatus

        public DrmInfoStatus(int statusCode,
                     int infoType,
                     ProcessedData data,
                     String mimeType)
        Creates a DrmInfoStatus object with the specified parameters.
        Parameters:
        statusCode - The status of the communication. Must be one of the defined status constants above.
        infoType - The type of the DRM information processed. Must be a valid type for DrmInfoRequest.
        data - The processed data.
        mimeType - The MIME type.


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 2336 / . Delta: 0.03036 с