RetrieveImageResult
public struct RetrieveImageResult
Represents the result of a Kingfisher retrieving image task.
-
Gets the image object of this result.
Declaration
Swift
public let image: KFCrossPlatformImage
-
Gets the cache source of the image. It indicates from which layer of cache this image is retrieved. If the image is just downloaded from network,
.none
will be returned.Declaration
Swift
public let cacheType: CacheType
-
Declaration
Swift
public let source: Source
-
The original
Source
from which the retrieve task begins. It can be different from thesource
property. When an alternative source loading happened, thesource
will be the replacing loading target, while theoriginalSource
will be kept as the initialsource
which issued the image loading process.Declaration
Swift
public let originalSource: Source