class Artwork
An object representing a single artwork retrieved from the MuzeiContract.Artwork table.
Instances of this should only be created by using Artwork.fromCursor.
attribution |
The user-visible attribution text of the artwork. val attribution: String? |
byline |
The user-visible byline, usually containing the author and date, of the artwork. val byline: String? |
dateAdded |
When this artwork was added to Muzei. val dateAdded: Date |
imageUri |
The image URI of the artwork. val imageUri: Uri? |
providerAuthority |
The authority of the MuzeiArtProvider providing this artwork. val providerAuthority: String |
title |
The user-visible title of the artwork. val title: String? |
fromCursor |
Deserializes an artwork object from a Cursor retrieved from MuzeiContract.Artwork.CONTENT_URI. fun fromCursor(cursor: Cursor): Artwork |