public
static
interface
MediaStore.MediaColumns
implements
BaseColumns
android.provider.MediaStore.MediaColumns |
Known Indirect Subclasses |
Common fields for most MediaProvider tables
Constants | |
---|---|
String |
DATA
Path to the file on disk. |
String |
DATE_ADDED
The time the file was added to the media provider Units are seconds since 1970. |
String |
DATE_MODIFIED
The time the file was last modified Units are seconds since 1970. |
String |
DISPLAY_NAME
The display name of the file Type: TEXT |
String |
HEIGHT
The height of the image/video in pixels. |
String |
MIME_TYPE
The MIME type of the file Type: TEXT |
String |
SIZE
The size of the file in bytes Type: INTEGER (long) |
String |
TITLE
The title of the content Type: TEXT |
String |
WIDTH
The width of the image/video in pixels. |
Inherited constants |
---|
From
interface
android.provider.BaseColumns
|
String DATA
Path to the file on disk.
Note that apps may not have filesystem permissions to directly access
this path. Instead of trying to open this path directly, apps should
use openFileDescriptor(Uri, String)
to gain
access.
Type: TEXT
Constant Value: "_data"
String DATE_ADDED
The time the file was added to the media provider Units are seconds since 1970.
Type: INTEGER (long)
Constant Value: "date_added"
String DATE_MODIFIED
The time the file was last modified Units are seconds since 1970. NOTE: This is for internal use by the media scanner. Do not modify this field.
Type: INTEGER (long)
Constant Value: "date_modified"
String DISPLAY_NAME
The display name of the file
Type: TEXT
Constant Value: "_display_name"
String HEIGHT
The height of the image/video in pixels.
Constant Value: "height"
String MIME_TYPE
The MIME type of the file
Type: TEXT
Constant Value: "mime_type"
String SIZE
The size of the file in bytes
Type: INTEGER (long)
Constant Value: "_size"
String WIDTH
The width of the image/video in pixels.
Constant Value: "width"