Metadata

fun Metadata(memoryCacheKey: MemoryCache.Key?, isSampled: Boolean, dataSource: DataSource, isPlaceholderMemoryCacheKeyPresent: Boolean)

Parameters

memoryCacheKey

The cache key for the image in the memory cache. It is null if the image was not written to the memory cache.

isSampled

True if the image is sampled (i.e. loaded into memory at less than its original size).

dataSource

The data source that the image was loaded from.

isPlaceholderMemoryCacheKeyPresent

True if the request's ImageRequest.placeholderMemoryCacheKey was present in the memory cache and was set as the placeholder.