Package-level declarations

Types

Link copied to clipboard
fun interface Fetcher

A Fetcher translates data (e.g. URI, file, etc.) into a FetchResult.

Link copied to clipboard
sealed interface FetchResult

The result of Fetcher.fetch.

Link copied to clipboard
class ImageFetchResult(val image: Image, val isSampled: Boolean, val dataSource: DataSource) : FetchResult

An Image result. Return this from a Fetcher if its data cannot be converted into an ImageSource.

Link copied to clipboard
class SourceFetchResult(val source: ImageSource, val mimeType: String?, val dataSource: DataSource) : FetchResult

An ImageSource result, which will be consumed by a relevant Decoder.