Build 1.0_r1(from source)

android.provider
Class DrmStore

java.lang.Object
  extended by android.provider.DrmStore

public final class DrmStore
extends Object

The DRM provider contains forward locked DRM content.


Nested Class Summary
static interface DrmStore.Audio
           
static interface DrmStore.Columns
          Fields for DRM database
static interface DrmStore.Images
           
 
Field Summary
static String AUTHORITY
           
 
Constructor Summary
DrmStore()
           
 
Method Summary
static Intent addDrmFile(ContentResolver cr, File file, String title)
          Utility function for inserting a file into the DRM content provider.
static void enforceAccessDrmPermission(Context context)
          Utility function to enforce any permissions required to access DRM content.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

AUTHORITY

public static final String AUTHORITY
See Also:
Constant Field Values
Constructor Detail

DrmStore

public DrmStore()
Method Detail

addDrmFile

public static final Intent addDrmFile(ContentResolver cr,
                                      File file,
                                      String title)
Utility function for inserting a file into the DRM content provider.

Parameters:
cr - The content resolver to use
file - The file to insert
title - The title for the content (or null)
Returns:
uri to the DRM record or null

enforceAccessDrmPermission

public static void enforceAccessDrmPermission(Context context)
Utility function to enforce any permissions required to access DRM content.

Parameters:
context - A context used for checking calling permission.

Build 1.0_r1(from source)

Please submit a feedback, bug or feature