Skip to content

Most visited

Recently visited

navigation

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

From interface android.provider.MediaStore.MediaColumns
From interface android.provider.BaseColumns

Constants

MEDIA_TYPE

Added in API level 11
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
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
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
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
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
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
String MIME_TYPE

The MIME type of the file

Type: TEXT

Constant Value: "mime_type"

PARENT

Added in API level 11
String PARENT

The index of the parent directory of the file

Type: INTEGER

Constant Value: "parent"

TITLE

Added in API level 11
String TITLE

The title of the content

Type: TEXT

Constant Value: "title"

This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.