CacheType
public enum CacheType
Cache type of a cached image.
- none: The image is not cached yet when retrieving it.
- memory: The image is cached in memory.
- disk: The image is cached in disk.
-
The image is not cached yet when retrieving it.
Declaration
Swift
case none
-
The image is cached in memory.
Declaration
Swift
case memory
-
The image is cached in disk.
Declaration
Swift
case disk
-
Whether the cache type represents the image is already cached or not.
Declaration
Swift
public var cached: Bool { get }