lightbulb_outline Help shape the future of the Google Play Console, Android Studio, and Firebase. Start survey

MediaStore.Files.FileColumns

public static interface MediaStore.Files.FileColumns
implements MediaStore.MediaColumns

android.provider.MediaStore.Files.FileColumns


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

Inherited constants

Constants

MEDIA_TYPE

added in API level 11
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"

MEDIA_TYPE_AUDIO

added in API level 11
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

added in API level 11
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

added in API level 11
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

added in API level 11
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

added in API level 11
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

added in API level 11
public static final String MIME_TYPE

The MIME type of the file

Type: TEXT

Constant Value: "mime_type"

PARENT

added in API level 11
public static final String PARENT

The index of the parent directory of the file

Type: INTEGER

Constant Value: "parent"

TITLE

added in API level 11
public static final String TITLE

The title of the content

Type: TEXT

Constant Value: "title"