IT. Expert System.

Android Reference

DrmInfo


android.drm

Class DrmInfo

    • Constructor Summary

      Constructors
      Constructor and Description
      DrmInfo(int infoType, byte[] data, String mimeType)
      Creates a DrmInfo object with the given parameters.
      DrmInfo(int infoType, String path, String mimeType)
      Creates a DrmInfo object with the given parameters.
    • Constructor Detail

      • DrmInfo

        public DrmInfo(int infoType,
               byte[] data,
               String mimeType)
        Creates a DrmInfo object with the given parameters.
        Parameters:
        infoType - The type of information.
        data - The trigger data.
        mimeType - The MIME type.
      • DrmInfo

        public DrmInfo(int infoType,
               String path,
               String mimeType)
        Creates a DrmInfo object with the given parameters.
        Parameters:
        infoType - The type of information.
        path - The trigger data.
        mimeType - The MIME type.
    • Method Detail

      • put

        public void put(String key,
               Object value)
        Adds optional information as key-value pairs to this object. To add a custom object to the DrmInfo object, you must override the Object.toString() implementation.
        Parameters:
        key - Key to add.
        value - 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 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 DrmInfo 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 DrmInfo object.
        Returns:
        The iterator object.
      • getData

        public byte[] getData()
        Retrieves the trigger data associated with this object.
        Returns:
        The trigger data.
      • 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.


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: 1062 / . Delta: 0.00610 с