DownloadOptionBuilder

class DownloadOptionBuilder(    transform: ImageTransformation.() -> Unit = {},     httpRequestOverrides: MutableList<HttpRequestOverride> = mutableListOf())(source)

Builder for downloading files with additional options

Constructors

Link copied to clipboard
constructor(transform: ImageTransformation.() -> Unit = {}, httpRequestOverrides: MutableList<HttpRequestOverride> = mutableListOf())

Functions

Link copied to clipboard
fun httpOverride(override: HttpRequestOverride)

Overrides the HTTP request

Link copied to clipboard
fun transform(transform: ImageTransformation.() -> Unit)

Transforms the image before downloading