public static final class MediaStore.Files extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
MediaStore.Files.FileColumns
Fields for master table for all media files.
|
Constructor and Description |
---|
Files() |
Modifier and Type | Method and Description |
---|---|
static Uri |
getContentUri(String volumeName)
Get the content:// style URI for the files table on the
given volume.
|
static Uri |
getContentUri(String volumeName,
long rowId)
Get the content:// style URI for a single row in the files table on the
given volume.
|
static Uri |
getMtpObjectsUri(String volumeName)
For use only by the MTP implementation.
|
static Uri |
getMtpObjectsUri(String volumeName,
long fileId)
For use only by the MTP implementation.
|
static Uri |
getMtpReferencesUri(String volumeName,
long fileId)
Used to implement the MTP GetObjectReferences and SetObjectReferences commands.
|
public static Uri getContentUri(String volumeName)
volumeName
- the name of the volume to get the URI forpublic static final Uri getContentUri(String volumeName, long rowId)
volumeName
- the name of the volume to get the URI forrowId
- the file to get the URI forpublic static Uri getMtpObjectsUri(String volumeName)
public static final Uri getMtpObjectsUri(String volumeName, long fileId)