Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public static interface

MediaStore.Files.FileColumns

implements MediaStore.MediaColumns
android.provider.MediaStore.Files.FileColumns

Class Overview

Fields for master table for all media files. Table also contains MediaColumns._ID, DATA, SIZE and DATE_MODIFIED.

Summary

Constants
String MEDIA_TYPE The media type (audio, video, image or playlist) of the file, or 0 for not a media file

Type: TEXT

int MEDIA_TYPE_AUDIO Constant for the MEDIA_TYPE column indicating that file is an audio file.
int MEDIA_TYPE_IMAGE Constant for the MEDIA_TYPE column indicating that file is an image file.
int MEDIA_TYPE_NONE Constant for the MEDIA_TYPE column indicating that file is not an audio, image, video or playlist file.
int MEDIA_TYPE_PLAYLIST Constant for the MEDIA_TYPE column indicating that file is a playlist file.
int MEDIA_TYPE_VIDEO Constant for the MEDIA_TYPE column indicating that file is a video file.
String MIME_TYPE The MIME type of the file

Type: TEXT

String PARENT The index of the parent directory of the file

Type: INTEGER

String TITLE The title of the content

Type: TEXT

[Expand]
Inherited Constants
From interface android.provider.BaseColumns
From interface android.provider.MediaStore.MediaColumns

Constants

public static final String MEDIA_TYPE

The media type (audio, video, image or playlist) of the file, or 0 for not a media file

Type: TEXT

Constant Value: "media_type"

public static final int MEDIA_TYPE_AUDIO

Constant for the MEDIA_TYPE column indicating that file is an audio file.

Constant Value: 2 (0x00000002)

public static final int MEDIA_TYPE_IMAGE

Constant for the MEDIA_TYPE column indicating that file is an image file.

Constant Value: 1 (0x00000001)

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)

public static final int MEDIA_TYPE_PLAYLIST

Constant for the MEDIA_TYPE column indicating that file is a playlist file.

Constant Value: 4 (0x00000004)

public static final int MEDIA_TYPE_VIDEO

Constant for the MEDIA_TYPE column indicating that file is a video file.

Constant Value: 3 (0x00000003)

public static final String MIME_TYPE

The MIME type of the file

Type: TEXT

Constant Value: "mime_type"

public static final String PARENT

The index of the parent directory of the file

Type: INTEGER

Constant Value: "parent"

public static final String TITLE

The title of the content

Type: TEXT

Constant Value: "title"