Metadata
data class Metadata(memoryCacheKey: MemoryCache.Key?, isSampled: Boolean, dataSource: DataSource, isPlaceholderMemoryCacheKeyPresent: Boolean)
Content copied to clipboard
Supplemental information about a successful image request.
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.
Constructors
Metadata
Link copied to clipboard
fun Metadata(memoryCacheKey: MemoryCache.Key?, isSampled: Boolean, dataSource: DataSource, isPlaceholderMemoryCacheKeyPresent: Boolean)
Content copied to clipboard
The cache key for the image in the memory cache.
Properties
dataSource
Link copied to clipboard
isPlaceholderMemoryCacheKeyPresent
Link copied to clipboard
True if the request's ImageRequest.placeholderMemoryCacheKey was present in the memory cache and was set as the placeholder.
memoryCacheKey
Link copied to clipboard