Build m5-rc15

android.drm.mobile1
Class DrmRawContent

java.lang.Object
  extended by android.drm.mobile1.DrmRawContent

public class DrmRawContent
extends Object


Field Summary
static int DRM_COMBINED_DELIVERY
           
static int DRM_FORWARD_LOCK
           
static String DRM_MIMETYPE_CONTENT_STRING
           
static String DRM_MIMETYPE_MESSAGE_STRING
           
static int DRM_SEPARATE_DELIVERY
           
static int DRM_SEPARATE_DELIVERY_DM
           
 
Constructor Summary
DrmRawContent(InputStream inRawdata, int len, String mimeTypeStr)
           
 
Method Summary
protected  void finalize()
           
 InputStream getContentInputStream(DrmRights rights)
           
 int getContentLength(DrmRights rights)
           
 String getContentType()
           
 int getRawType()
           
 String getRightsAddress()
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DRM_MIMETYPE_MESSAGE_STRING

public static final String DRM_MIMETYPE_MESSAGE_STRING
See Also:
Constant Field Values

DRM_MIMETYPE_CONTENT_STRING

public static final String DRM_MIMETYPE_CONTENT_STRING
See Also:
Constant Field Values

DRM_FORWARD_LOCK

public static final int DRM_FORWARD_LOCK
See Also:
Constant Field Values

DRM_COMBINED_DELIVERY

public static final int DRM_COMBINED_DELIVERY
See Also:
Constant Field Values

DRM_SEPARATE_DELIVERY

public static final int DRM_SEPARATE_DELIVERY
See Also:
Constant Field Values

DRM_SEPARATE_DELIVERY_DM

public static final int DRM_SEPARATE_DELIVERY_DM
See Also:
Constant Field Values
Constructor Detail

DrmRawContent

public DrmRawContent(InputStream inRawdata,
                     int len,
                     String mimeTypeStr)
              throws DrmException,
                     IOException
Throws:
DrmException
IOException
Method Detail

getRightsAddress

public String getRightsAddress()

getRawType

public int getRawType()

getContentInputStream

public InputStream getContentInputStream(DrmRights rights)

getContentType

public String getContentType()

getContentLength

public int getContentLength(DrmRights rights)
                     throws DrmException
Throws:
DrmException

finalize

protected void finalize()
Overrides:
finalize in class Object

Build m5-rc15

Please submit a feedback, bug or feature