SDImageCacheType

enum SDImageCacheType {}

Image Cache Type

  • For query and contains op in response, means the image isn’t available in the image cache For op in request, this type is not available and take no effect.

    Declaration

    Objective-C

    SDImageCacheTypeNone

    Swift

    case none = 0
  • For query and contains op in response, means the image was obtained from the disk cache. For op in request, means process only disk cache.

    Declaration

    Objective-C

    SDImageCacheTypeDisk

    Swift

    case disk = 1
  • For query and contains op in response, means the image was obtained from the memory cache. For op in request, means process only memory cache.

    Declaration

    Objective-C

    SDImageCacheTypeMemory

    Swift

    case memory = 2
  • For query and contains op in response, this type is not available and take no effect. For op in request, means process both memory cache and disk cache.

    Declaration

    Objective-C

    SDImageCacheTypeAll

    Swift

    case all = 3