muzei-api / com.google.android.apps.muzei.api.provider / ProviderContract / Artwork

Artwork

object Artwork

Constants and helper methods for working with the Artwork associated with a MuzeiArtProvider.

Properties

_ID

The unique ID of the Artwork, suitable for use with ContentUris.withAppendedId.

const val _ID: String

ATTRIBUTION

The attribution info for the artwork

const val ATTRIBUTION: String

BYLINE

The artwork's byline (such as author and date). This is generally used as a secondary source of information after the TITLE.

const val BYLINE: String

DATA

Path to the file on disk.

const val DATA: String

DATE_ADDED

The time the file was added to the provider.

const val DATE_ADDED: String

DATE_MODIFIED

The time the file was last modified.

const val DATE_MODIFIED: String

METADATA

The provider specific metadata about the artwork

const val METADATA: String

PERSISTENT_URI

The persistent URI of the artwork

const val PERSISTENT_URI: String

TITLE

The user-visible title of the artwork

const val TITLE: String

TOKEN

The token that uniquely defines the artwork. Any inserts using the same non-null token will be considered updates to the existing artwork. Therefore there will always be at most one artwork with the same non-null token.

const val TOKEN: String

WEB_URI

The web URI of the artwork

const val WEB_URI: String