muzei-api / com.google.android.apps.muzei.api.provider / Artwork / Builder / <init>

<init>

Builder()

A builder-style, fluent interface for creating Artwork objects.

For example:

Artwork artwork = new Artwork.Builder()
  .persistentUri(Uri.parse("http://example.com/image.jpg"))
  .title("Example image")
  .byline("Unknown person, c. 1980")
  .attribution("Copyright (C) Unknown person, 1980")
  .build()