DefinedRequestOptions

class DefinedRequestOptions(lifecycle: Lifecycle?, sizeResolver: SizeResolver?, scale: Scale?, interceptorDispatcher: CoroutineDispatcher?, fetcherDispatcher: CoroutineDispatcher?, decoderDispatcher: CoroutineDispatcher?, transformationDispatcher: CoroutineDispatcher?, transitionFactory: Transition.Factory?, precision: Precision?, bitmapConfig: Bitmap.Config?, allowHardware: Boolean?, allowRgb565: Boolean?, memoryCachePolicy: CachePolicy?, diskCachePolicy: CachePolicy?, networkCachePolicy: CachePolicy?)

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

See also

Constructors

DefinedRequestOptions
Link copied to clipboard
fun DefinedRequestOptions(lifecycle: Lifecycle?, sizeResolver: SizeResolver?, scale: Scale?, interceptorDispatcher: CoroutineDispatcher?, fetcherDispatcher: CoroutineDispatcher?, decoderDispatcher: CoroutineDispatcher?, transformationDispatcher: CoroutineDispatcher?, transitionFactory: Transition.Factory?, precision: Precision?, bitmapConfig: Bitmap.Config?, allowHardware: Boolean?, allowRgb565: Boolean?, memoryCachePolicy: CachePolicy?, diskCachePolicy: CachePolicy?, networkCachePolicy: CachePolicy?)

Functions

copy
Link copied to clipboard
fun copy(lifecycle: Lifecycle? = this.lifecycle, sizeResolver: SizeResolver? = this.sizeResolver, scale: Scale? = this.scale, interceptorDispatcher: CoroutineDispatcher? = this.interceptorDispatcher, fetcherDispatcher: CoroutineDispatcher? = this.fetcherDispatcher, decoderDispatcher: CoroutineDispatcher? = this.decoderDispatcher, transformationDispatcher: CoroutineDispatcher? = this.transformationDispatcher, transitionFactory: Transition.Factory? = this.transitionFactory, precision: Precision? = this.precision, bitmapConfig: Bitmap.Config? = this.bitmapConfig, allowHardware: Boolean? = this.allowHardware, allowRgb565: Boolean? = this.allowRgb565, memoryCachePolicy: CachePolicy? = this.memoryCachePolicy, diskCachePolicy: CachePolicy? = this.diskCachePolicy, networkCachePolicy: CachePolicy? = this.networkCachePolicy): DefinedRequestOptions
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int

Properties

allowHardware
Link copied to clipboard
val allowHardware: Boolean?
allowRgb565
Link copied to clipboard
val allowRgb565: Boolean?
bitmapConfig
Link copied to clipboard
val bitmapConfig: Bitmap.Config?
decoderDispatcher
Link copied to clipboard
val decoderDispatcher: CoroutineDispatcher?
diskCachePolicy
Link copied to clipboard
val diskCachePolicy: CachePolicy?
fetcherDispatcher
Link copied to clipboard
val fetcherDispatcher: CoroutineDispatcher?
interceptorDispatcher
Link copied to clipboard
val interceptorDispatcher: CoroutineDispatcher?
lifecycle
Link copied to clipboard
val lifecycle: Lifecycle?
memoryCachePolicy
Link copied to clipboard
val memoryCachePolicy: CachePolicy?
networkCachePolicy
Link copied to clipboard
val networkCachePolicy: CachePolicy?
precision
Link copied to clipboard
val precision: Precision?
scale
Link copied to clipboard
val scale: Scale?
sizeResolver
Link copied to clipboard
val sizeResolver: SizeResolver?
transformationDispatcher
Link copied to clipboard
val transformationDispatcher: CoroutineDispatcher?
transitionFactory
Link copied to clipboard
val transitionFactory: Transition.Factory?