muzei-api / / Artwork / <init>


Artwork(title: String?, byline: String? = null, attribution: String? = null, token: String? = null, persistentUri: Uri? = null, webUri: Uri? = null, metadata: String? = null)

Construct a new Artwork.


title - The artwork's user-visible title.

byline - The artwork's user-visible byline, usually containing the author and date.

attribution - The artwork's user-visible attribution text.

token - The token that uniquely defines the artwork.

persistentUri - The artwork's persistent URI, which must resolve to a JPEG or PNG image, ideally under 5MB. Your app should have long-lived access to this URI.

webUri - The artwork's web URI.

metadata - The provider specific metadata about the artwork.