Enumerations

The following enumerations are available globally.

  • Declaration

    Objective-C

    NS_ERROR_ENUM(SDWebImagePhotosErrorDomain, SDWebImagePhotosError) {
        /// Photos framework access is not authorized by user
        SDWebImagePhotosErrorNotAuthorized = 10001,
        /// Photos URL is not image asset type (like Video or Audio)
        SDWebImagePhotosErrorNotImageAsset = 10002
    }

    Swift

    typealias SDWebImagePhotosError.Code._ErrorType = SDWebImagePhotosError