IT. Expert System.

Android Reference

DrmInfoRequest


android.drm

Class DrmInfoRequest



  • public class DrmInfoRequest
    extends Object
    An entity class that is used to pass information to an online DRM server. An instance of this class is passed to the acquireDrmInfo() method to get an instance of a DrmInfo.
    • Field Detail

      • TYPE_REGISTRATION_INFO

        public static final int TYPE_REGISTRATION_INFO
        Acquires DRM server registration information.
        See Also:
        Constant Field Values
      • TYPE_UNREGISTRATION_INFO

        public static final int TYPE_UNREGISTRATION_INFO
        Acquires information for unregistering the DRM server.
        See Also:
        Constant Field Values
      • TYPE_RIGHTS_ACQUISITION_INFO

        public static final int TYPE_RIGHTS_ACQUISITION_INFO
        Acquires rights information.
        See Also:
        Constant Field Values
      • TYPE_RIGHTS_ACQUISITION_PROGRESS_INFO

        public static final int TYPE_RIGHTS_ACQUISITION_PROGRESS_INFO
        Acquires the progress of the rights acquisition.
        See Also:
        Constant Field Values
      • ACCOUNT_ID

        public static final String ACCOUNT_ID
        Key that is used to pass the unique session ID for the account or the user.
        See Also:
        Constant Field Values
      • SUBSCRIPTION_ID

        public static final String SUBSCRIPTION_ID
        Key that is used to pass the unique session ID for the subscription.
        See Also:
        Constant Field Values
    • Constructor Detail

      • DrmInfoRequest

        public DrmInfoRequest(int infoType,
                      String mimeType)
        Creates a DrmInfoRequest object with type and MIME type.
        Parameters:
        infoType - Type of information.
        mimeType - MIME type.
    • Method Detail

      • getMimeType

        public String getMimeType()
        Retrieves the MIME type associated with this object.
        Returns:
        The MIME type.
      • getInfoType

        public int getInfoType()
        Retrieves the information type associated with this object.
        Returns:
        The information type.
      • put

        public void put(String key,
               Object value)
        Adds optional information as key-value pairs to this object.
        Parameters:
        key - The key to add.
        value - The value to add.
      • get

        public Object get(String key)
        Retrieves the value of a given key.
        Parameters:
        key - The key whose value is being retrieved.
        Returns:
        The value of the key that is being retrieved. Returns null if the key cannot be found.
      • keyIterator

        public Iterator<String> keyIterator()
        Retrieves an iterator object that you can use to iterate over the keys associated with this DrmInfoRequest object.
        Returns:
        The iterator object.
      • iterator

        public Iterator<Object> iterator()
        Retrieves an iterator object that you can use to iterate over the values associated with this DrmInfoRequest object.
        Returns:
        The iterator object.


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: 2202 / 96488001. Delta: 0.02766 с