IT. Expert System.

Android Reference

DrmRightsManager


android.drm.mobile1

Class DrmRightsManager



  • public class DrmRightsManager
    extends Object
    This class provides interfaces to access the DRM right manager.
    • Field Detail

      • DRM_MIMETYPE_RIGHTS_XML_STRING

        public static final String DRM_MIMETYPE_RIGHTS_XML_STRING
        The "application/vnd.oma.drm.rights+xml" mime type.
        See Also:
        Constant Field Values
      • DRM_MIMETYPE_RIGHTS_WBXML_STRING

        public static final String DRM_MIMETYPE_RIGHTS_WBXML_STRING
        The "application/vnd.oma.drm.rights+wbxml" mime type.
        See Also:
        Constant Field Values
    • Constructor Detail

      • DrmRightsManager

        protected DrmRightsManager()
        Construct a DrmRightsManager
    • Method Detail

      • getInstance

        public static DrmRightsManager getInstance()
        Get the DrmRightsManager instance.
        Returns:
        the instance of DrmRightsManager.
      • installRights

        public DrmRights installRights(InputStream rightsData,
                              int len,
                              String mimeTypeStr)
                                throws DrmException,
                                       IOException
        Install one DRM rights and return one instance of DrmRights.
        Parameters:
        rightsData - raw rights data.
        mimeTypeStr - the mime type of the rights object.
        Returns:
        the instance of the installed DrmRights.
        Throws:
        DrmException
        IOException
      • queryRights

        public DrmRights queryRights(DrmRawContent content)
        Query DRM rights of specified DRM raw content.
        Parameters:
        content - raw content object.
        Returns:
        the instance of DrmRights, or null if there is no rights.
      • getRightsList

        public List getRightsList()
        Get the list of all DRM rights saved in local client.
        Returns:
        the list of all the rights object.
      • deleteRights

        public void deleteRights(DrmRights rights)
        Delete the specified DRM rights object.
        Parameters:
        rights - the specified rights object to be deleted.


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: 389 / 158856303. Delta: 0.03638 с