SuccessResult
@Poko
Indicates that the request completed successfully.
Constructors
Link copied to clipboard
constructor(image: Image, request: ImageRequest, dataSource: DataSource = DataSource.MEMORY, memoryCacheKey: MemoryCache.Key? = null, diskCacheKey: String? = null, isSampled: Boolean = false, isPlaceholderCached: Boolean = false)
Properties
Link copied to clipboard
The data source that the image was loaded from.
Link copied to clipboard
The cache key for the image in the disk cache. It is 'null' if the image was not written to the disk cache.
Link copied to clipboard
'true' if ImageRequest.placeholderMemoryCacheKey was present in the memory cache.
Link copied to clipboard
The cache key for the image in the memory cache. It is 'null' if the image was not written to the memory cache.
Link copied to clipboard
The request that was executed to create this result.
Functions
Link copied to clipboard
fun copy(image: Image = this.image, request: ImageRequest = this.request, dataSource: DataSource = this.dataSource, memoryCacheKey: MemoryCache.Key? = this.memoryCacheKey, diskCacheKey: String? = this.diskCacheKey, isSampled: Boolean = this.isSampled, isPlaceholderCached: Boolean = this.isPlaceholderCached): SuccessResult