public static interface MediaStore.MediaColumns extends BaseColumns
Modifier and Type | Field and Description |
---|---|
static String |
DATA
Path to the file on disk.
|
static String |
DATE_ADDED
The time the file was added to the media provider
Units are seconds since 1970.
|
static String |
DATE_MODIFIED
The time the file was last modified
Units are seconds since 1970.
|
static String |
DISPLAY_NAME
The display name of the file
Type: TEXT
|
static String |
HEIGHT
The height of the image/video in pixels.
|
static String |
IS_DRM
Non-zero if the media file is drm-protected
Type: INTEGER (boolean)
|
static String |
MEDIA_SCANNER_NEW_OBJECT_ID
The MTP object handle of a newly transfered file.
|
static String |
MIME_TYPE
The MIME type of the file
Type: TEXT
|
static String |
SIZE
The size of the file in bytes
Type: INTEGER (long)
|
static String |
TITLE
The title of the content
Type: TEXT
|
static String |
WIDTH
The width of the image/video in pixels.
|
_COUNT, _ID
static final String DATA
Note that apps may not have filesystem permissions to directly access
this path. Instead of trying to open this path directly, apps should
use ContentResolver.openFileDescriptor(Uri, String)
to gain
access.
Type: TEXT
static final String SIZE
Type: INTEGER (long)
static final String DISPLAY_NAME
Type: TEXT
static final String TITLE
Type: TEXT
static final String DATE_ADDED
Type: INTEGER (long)
static final String DATE_MODIFIED
Type: INTEGER (long)
static final String MIME_TYPE
Type: TEXT
static final String MEDIA_SCANNER_NEW_OBJECT_ID
Type: INTEGER
static final String IS_DRM
Type: INTEGER (boolean)
static final String WIDTH
static final String HEIGHT