to top
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

Added in API level 11

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

Added in API level 11

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

Constant Value: 2 (0x00000002)

public static final int MEDIA_TYPE_IMAGE

Added in API level 11

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

Constant Value: 1 (0x00000001)

public static final int MEDIA_TYPE_NONE

Added in API level 11

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

Added in API level 11

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

Constant Value: 4 (0x00000004)

public static final int MEDIA_TYPE_VIDEO

Added in API level 11

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

Constant Value: 3 (0x00000003)

public static final String MIME_TYPE

Added in API level 11

The MIME type of the file

Type: TEXT

Constant Value: "mime_type"

public static final String PARENT

Added in API level 11

The index of the parent directory of the file

Type: INTEGER

Constant Value: "parent"

public static final String TITLE

Added in API level 11

The title of the content

Type: TEXT

Constant Value: "title"