다음을 통해 공유


MediaStore.IMediaColumns Interface

Definition

Common media metadata columns.

public interface MediaStore.IMediaColumns
type MediaStore.IMediaColumns = interface

Remarks

Common media metadata columns.

Java documentation for android.provider.MediaStore.MediaColumns.

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

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

The primary bucket display name of this media item.

BucketId

The primary bucket ID of this media item.

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.

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

Indexed value of MediaMetadataRetriever#METADATA_KEY_DATE or ExifInterface#TAG_DATETIME_ORIGINAL extracted from this media item.

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.

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.

Height

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

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.

IsPending

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

IsTrashed

Flag indicating if a media item is trashed.

MimeType

The MIME type of the media item.

NumTracks

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

Orientation

Indexed value of MediaMetadataRetriever#METADATA_KEY_VIDEO_ROTATION, MediaMetadataRetriever#METADATA_KEY_IMAGE_ROTATION, or ExifInterface#TAG_ORIENTATION extracted from this media item.

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.

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.

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