MediaStore.Files.FileColumns
public
static
interface
MediaStore.Files.FileColumns
implements
MediaStore.MediaColumns
| android.provider.MediaStore.Files.FileColumns |
File metadata columns.
Summary
Constants | |
|---|---|
String |
MEDIA_TYPE
The media type (audio, video, image or playlist) of the file, or 0 for not a media file |
int |
MEDIA_TYPE_AUDIO
Constant for the |
int |
MEDIA_TYPE_IMAGE
Constant for the |
int |
MEDIA_TYPE_NONE
Constant for the |
int |
MEDIA_TYPE_PLAYLIST
Constant for the |
int |
MEDIA_TYPE_VIDEO
Constant for the |
String |
MIME_TYPE
The MIME type of the media item. |
String |
PARENT
The index of the parent directory of the file |
String |
TITLE
The title of the media item. |
Inherited constants |
|---|
Constants
MEDIA_TYPE
public static final String MEDIA_TYPE
The media type (audio, video, image or playlist) of the file, or 0 for not a media file
Constant Value: "media_type"
MEDIA_TYPE_AUDIO
public static final int MEDIA_TYPE_AUDIO
Constant for the MEDIA_TYPE column indicating that file is an audio file.
Constant Value: 2 (0x00000002)
MEDIA_TYPE_IMAGE
public static final int MEDIA_TYPE_IMAGE
Constant for the MEDIA_TYPE column indicating that file is an image file.
Constant Value: 1 (0x00000001)
MEDIA_TYPE_NONE
public static final int MEDIA_TYPE_NONE
Constant for the MEDIA_TYPE column indicating that file
is not an audio, image, video or playlist file.
Constant Value: 0 (0x00000000)
MEDIA_TYPE_PLAYLIST
public static final int MEDIA_TYPE_PLAYLIST
Constant for the MEDIA_TYPE column indicating that file is a playlist file.
Constant Value: 4 (0x00000004)
MEDIA_TYPE_VIDEO
public static final int MEDIA_TYPE_VIDEO
Constant for the MEDIA_TYPE column indicating that file is a video file.
Constant Value: 3 (0x00000003)
MIME_TYPE
public static final String MIME_TYPE
The MIME type of the media item.
This is typically defined based on the file extension of the media
item. However, it may be the value of the format attribute
defined by the Dublin Core Media Initiative standard,
extracted from any XMP metadata contained within this media item.
Note: the format attribute may be ignored if the top-level
MIME type disagrees with the file extension. For example, it's
reasonable for an image/jpeg file to declare a format
of image/vnd.google.panorama360+jpg, but declaring a
format of audio/ogg would be ignored.
This is a read-only column that is automatically computed.
Constant Value: "mime_type"
PARENT
public static final String PARENT
The index of the parent directory of the file
Constant Value: "parent"
TITLE
public static final String TITLE
The title of the media item.
Constant Value: "title"