CloudMediaProviderContract.AlbumColumns


public static final class CloudMediaProviderContract.AlbumColumns
extends Object

java.lang.Object
   ↳ android.provider.CloudMediaProviderContract.AlbumColumns


Constants related to an album item, including Cursor column names

Summary

Constants

String DATE_TAKEN_MILLIS

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

String DISPLAY_NAME

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

String ID

Unique ID of an album.

String MEDIA_COUNT

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

String MEDIA_COVER_ID

Media id to use as the album cover photo.

Inherited methods

Object clone()

Creates and returns a copy of this object.

boolean equals(Object obj)

Indicates whether some other object is "equal to" this one.

void finalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

final Class<?> getClass()

Returns the runtime class of this Object.

int hashCode()

Returns a hash code value for the object.

final void notify()

Wakes up a single thread that is waiting on this object's monitor.

final void notifyAll()

Wakes up all threads that are waiting on this object's monitor.

String toString()

Returns a string representation of the object.

final void wait(long timeoutMillis, int nanos)

Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.

final void wait(long timeoutMillis)

Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.

final void wait()

Causes the current thread to wait until it is awakened, typically by being notified or interrupted.

Constants

DATE_TAKEN_MILLIS

Added in API level 33
Also in R Extensions 3
public static final String DATE_TAKEN_MILLIS

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

Type: LONG

Constant Value: "date_taken_millis"

DISPLAY_NAME

Added in API level 33
Also in R Extensions 3
public static final String DISPLAY_NAME

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

Type: STRING

Constant Value: "display_name"

ID

Added in API level 33
Also in R Extensions 3
public static final String ID

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

Constant Value: "id"

MEDIA_COUNT

Added in API level 33
Also in R Extensions 3
public static final String MEDIA_COUNT

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

Constant Value: "album_media_count"

MEDIA_COVER_ID

Added in API level 33
Also in R Extensions 3
public static final String MEDIA_COVER_ID

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

Constant Value: "album_media_cover_id"