AlbumColumns


class AlbumColumns
kotlin.Any
   ↳ android.provider.CloudMediaProviderContract.AlbumColumns

Constants related to an album item, including Cursor column names

Summary

Constants
static String

Timestamp of the most recently taken photo in an album, in milliseconds since January 1, 1970 00:00:00.

static String

Display name of a an album, used as the primary title displayed to a user.

static String

Unique ID of an album.

static String

Total count of all media within the album, including photos and videos.

static String

Media id to use as the album cover photo.

Constants

DATE_TAKEN_MILLIS

static val DATE_TAKEN_MILLIS: String

Timestamp of the most recently taken photo in an album, in milliseconds since January 1, 1970 00:00:00.0 UTC.

Type: LONG

Value: "date_taken_millis"

DISPLAY_NAME

static val DISPLAY_NAME: String

Display name of a an album, used as the primary title displayed to a user.

Type: STRING

Value: "display_name"

ID

static val ID: String

Unique ID of an album. This ID is both provided by and interpreted by a CloudMediaProvider.

Each album item must have a unique ID within a media collection.

A provider should return durable IDs, since they will be used to cache album information in the OS.

Type: STRING

Value: "id"

MEDIA_COUNT

static val MEDIA_COUNT: String

Total count of all media within the album, including photos and videos.

If this field is not provided, albums will be shown without a count in the Photo Picker.

Empty albums should be omitted from the CloudMediaProvider.onQueryAlbums result, i.e. zero is not a valid media count.

Type: LONG

Value: "album_media_count"

MEDIA_COVER_ID

static val MEDIA_COVER_ID: String

Media id to use as the album cover photo.

If this field is not provided, albums will be shown in the Photo Picker without a cover photo.

Type: LONG

Value: "album_media_cover_id"