IT. Expert System.

Android Reference

DrmEvent


android.drm

Class DrmEvent

  • Direct Known Subclasses:
    DrmErrorEvent, DrmInfoEvent


    public class DrmEvent
    extends Object
    A base class that is used to send asynchronous event information from the DRM framework.
    • Field Detail

      • TYPE_ALL_RIGHTS_REMOVED

        public static final int TYPE_ALL_RIGHTS_REMOVED
        All of the rights information associated with all DRM schemes have been successfully removed.
        See Also:
        Constant Field Values
      • TYPE_DRM_INFO_PROCESSED

        public static final int TYPE_DRM_INFO_PROCESSED
        The given DRM information has been successfully processed.
        See Also:
        Constant Field Values
      • DRM_INFO_STATUS_OBJECT

        public static final String DRM_INFO_STATUS_OBJECT
        The key that is used in the attributes HashMap to pass the return status.
        See Also:
        Constant Field Values
    • Constructor Detail

      • DrmEvent

        protected DrmEvent(int uniqueId,
                int type,
                String message,
                HashMap<String,Object> attributes)
        Creates a DrmEvent object with the specified parameters.
        Parameters:
        uniqueId - Unique session identifier.
        type - Type of information.
        message - Message description.
        attributes - Attributes for extensible information.
      • DrmEvent

        protected DrmEvent(int uniqueId,
                int type,
                String message)
        Creates a DrmEvent object with the specified parameters.
        Parameters:
        uniqueId - Unique session identifier.
        type - Type of information.
        message - Message description.
    • Method Detail

      • getUniqueId

        public int getUniqueId()
        Retrieves the unique session identifier associated with this object.
        Returns:
        The unique session identifier.
      • getType

        public int getType()
        Retrieves the type of information that is associated with this object.
        Returns:
        The type of information.
      • getMessage

        public String getMessage()
        Retrieves the message description associated with this object.
        Returns:
        The message description.
      • getAttribute

        public Object getAttribute(String key)
        Retrieves the attribute associated with the specified key.
        Returns:
        One of the attributes or null if no mapping for the key is found.


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: 1443 / . Delta: 0.01589 с