Defined

class Defined(val fileSystem: FileSystem?, val interceptorCoroutineContext: CoroutineContext?, val fetcherCoroutineContext: CoroutineContext?, val decoderCoroutineContext: CoroutineContext?, val memoryCachePolicy: CachePolicy?, val diskCachePolicy: CachePolicy?, val networkCachePolicy: CachePolicy?, val placeholderFactory: (ImageRequest) -> Image??, val errorFactory: (ImageRequest) -> Image??, val fallbackFactory: (ImageRequest) -> Image??, val sizeResolver: SizeResolver?, val scale: Scale?, val precision: Precision?)

Tracks which values have been set (instead of computed automatically using a default) when building an ImageRequest.

Constructors

Link copied to clipboard
constructor(fileSystem: FileSystem?, interceptorCoroutineContext: CoroutineContext?, fetcherCoroutineContext: CoroutineContext?, decoderCoroutineContext: CoroutineContext?, memoryCachePolicy: CachePolicy?, diskCachePolicy: CachePolicy?, networkCachePolicy: CachePolicy?, placeholderFactory: (ImageRequest) -> Image??, errorFactory: (ImageRequest) -> Image??, fallbackFactory: (ImageRequest) -> Image??, sizeResolver: SizeResolver?, scale: Scale?, precision: Precision?)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val scale: Scale?
Link copied to clipboard

Functions

Link copied to clipboard
fun copy(fileSystem: FileSystem? = this.fileSystem, interceptorCoroutineContext: CoroutineContext? = this.interceptorCoroutineContext, fetcherCoroutineContext: CoroutineContext? = this.fetcherCoroutineContext, decoderCoroutineContext: CoroutineContext? = this.decoderCoroutineContext, memoryCachePolicy: CachePolicy? = this.memoryCachePolicy, diskCachePolicy: CachePolicy? = this.diskCachePolicy, networkCachePolicy: CachePolicy? = this.networkCachePolicy, placeholderFactory: (ImageRequest) -> Image?? = this.placeholderFactory, errorFactory: (ImageRequest) -> Image?? = this.errorFactory, fallbackFactory: (ImageRequest) -> Image?? = this.fallbackFactory, sizeResolver: SizeResolver? = this.sizeResolver, scale: Scale? = this.scale, precision: Precision? = this.precision): ImageRequest.Defined