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
memory Cache Key
The cache key for the image in the memory cache. It is null if the image was not written to the memory cache.
is Sampled
True if the image is sampled (i.e. loaded into memory at less than its original size).
data Source
The data source that the image was loaded from.
is Placeholder Memory Cache Key Present
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
Properties
dataSource
Link copied to clipboard
isPlaceholderMemoryCacheKeyPresent
Link copied to clipboard
memoryCacheKey
Link copied to clipboard