Taal

MediaStore.Images.Media.InterfaceConsts Class

Definition

Image capture and EXIF metadata, shared media-file metadata, and row-identity column names exposed for MediaStore.Images.Media.

public static class MediaStore.Images.Media.InterfaceConsts
type MediaStore.Images.Media.InterfaceConsts = class
Inheritance
MediaStore.Images.Media.InterfaceConsts

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Fields

Name Description
Album

Indexed value of MediaMetadataRetriever#METADATA_KEY_ALBUM extracted from this media item.

AlbumArtist

Indexed value of MediaMetadataRetriever#METADATA_KEY_ALBUMARTIST extracted from this media item.

Artist

Indexed value of MediaMetadataRetriever#METADATA_KEY_ARTIST or ExifInterface#TAG_ARTIST extracted from this media item.

Author

Indexed value of MediaMetadataRetriever#METADATA_KEY_AUTHOR extracted from this media item.

Bitrate

Indexed value of MediaMetadataRetriever#METADATA_KEY_BITRATE extracted from this media item.

BucketDisplayName

Names the automatically computed display-name column for the media item's primary bucket.

BucketId

Names the automatically computed identifier column for the media item's primary bucket.

CaptureFramerate

Indexed value of MediaMetadataRetriever#METADATA_KEY_CAPTURE_FRAMERATE extracted from this media item.

CdTrackNumber

Indexed value of MediaMetadataRetriever#METADATA_KEY_CD_TRACK_NUMBER extracted from this media item.

Compilation

Indexed value of MediaMetadataRetriever#METADATA_KEY_COMPILATION extracted from this media item.

Composer

Indexed value of MediaMetadataRetriever#METADATA_KEY_COMPOSER extracted from this media item.

Count

The count of rows in a directory.

Data

Absolute filesystem path to the media item on disk.

DateAdded

The time the media item was first added.

DateExpires

The time the media item should be considered expired.

DateModified

Indexed value of File#lastModified() extracted from this media item.

DateTaken

Names the column for the indexed capture time, in milliseconds since the epoch.

Description

Names the column containing the image's indexed EXIF image-description value.

DiscNumber

Indexed value of MediaMetadataRetriever#METADATA_KEY_DISC_NUMBER extracted from this media item.

DisplayName

The display name of the media item.

DocumentId

The "document ID" GUID as defined by the <em>XMP Media Management</em> standard, extracted from any XMP metadata contained within this media item.

Duration

Indexed value of MediaMetadataRetriever#METADATA_KEY_DURATION extracted from this media item.

ExposureTime

Names the column containing the image's indexed EXIF exposure-time value.

FNumber

Names the column containing the image's indexed EXIF f-number value.

GenerationAdded

Generation number at which metadata for this media item was first inserted.

GenerationModified

Generation number at which metadata for this media item was last changed.

Genre

Indexed value of MediaMetadataRetriever#METADATA_KEY_GENRE extracted from this media item.

HasGainMap

Names the flag column indicating whether the image file contains a gain map.

Height

Indexed value of MediaMetadataRetriever#METADATA_KEY_VIDEO_HEIGHT, MediaMetadataRetriever#METADATA_KEY_IMAGE_HEIGHT or ExifInterface#TAG_IMAGE_LENGTH extracted from this media item.

Id

The unique ID for a row.

InferredDate

File's approximate creation date.

InstanceId

The "instance ID" GUID as defined by the <em>XMP Media Management</em> standard, extracted from any XMP metadata contained within this media item.

IsDownload

Flag indicating if the media item has been marked as being part of the Downloads collection.

IsDrm

Flag indicating if a media item is DRM protected.

IsFavorite

Flag indicating if the media item has been marked as being a "favorite" by the user.

Iso

Names the column containing the image's indexed EXIF ISO-speed value.

IsPending

Flag indicating if a media item is pending, and still being inserted by its owner.

IsPrivate

Names the legacy flag column indicating public or private publication of the media item.

IsTrashed

Flag indicating if a media item is trashed.

Latitude

Names the obsolete capture-latitude column, whose value is no longer indexed and is now null.

Longitude

Names the obsolete capture-longitude column, whose value is no longer indexed and is now null.

MimeType

The MIME type of the media item.

MiniThumbMagic

Names the obsolete mini-thumbnail identifier column, which is no longer supported.

NumTracks

Indexed value of MediaMetadataRetriever#METADATA_KEY_NUM_TRACKS extracted from this media item.

OemMetadata

Column which allows OEMs to store custom metadata for a media file.

Orientation

Names the column for the indexed image or video rotation in degrees.

OriginalDocumentId

The "original document ID" GUID as defined by the <em>XMP Media Management</em> standard, extracted from any XMP metadata contained within this media item.

OwnerPackageName

Package name that contributed this media.

PicasaId

Names the obsolete Picasa image-identifier column; Picasa-hosted images are no longer supported.

RelativePath

Relative path of this media item within the storage device where it is persisted.

Resolution

Calculated value that combines #WIDTH and #HEIGHT into a user-presentable string.

SceneCaptureType

Names the column containing the image's indexed EXIF scene-capture-type value.

Size

Indexed value of File#length() extracted from this media item.

Title

Indexed value of MediaMetadataRetriever#METADATA_KEY_TITLE extracted from this media item.

VolumeName

Volume name of the specific storage device where this media item is persisted.

Width

Indexed value of MediaMetadataRetriever#METADATA_KEY_VIDEO_WIDTH, MediaMetadataRetriever#METADATA_KEY_IMAGE_WIDTH or ExifInterface#TAG_IMAGE_WIDTH extracted from this media item.

Writer

Indexed value of MediaMetadataRetriever#METADATA_KEY_WRITER extracted from this media item.

Xmp

Indexed XMP metadata extracted from this media item.

Year

Indexed value of MediaMetadataRetriever#METADATA_KEY_YEAR extracted from this media item.

Applies to