muzei-api / com.google.android.apps.muzei.api / Artwork / fromCursor

fromCursor

@JvmStatic fun fromCursor(cursor: Cursor): Artwork

Deserializes an artwork object from a Cursor retrieved from MuzeiContract.Artwork.CONTENT_URI.

Parameters

cursor - a Cursor retrieved from MuzeiContract.Artwork.CONTENT_URI, set at the correct position.

Return
the artwork from the current position of the Cursor.