SCCameraKitCacheConfig

Objective-C


@interface SCCameraKitCacheConfig : NSObject

Swift

class CacheConfig : NSObject

Concrete class to configure camera kit cache

  • Max size in bytes for lens content cache

    Note

    Default max is 100MB and min is at least 50MB

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSUInteger lensContentMaxSize;

    Swift

    var lensContentMaxSize: UInt { get }
  • Init with specifed max size for lens content cache

    Declaration

    Objective-C

    - (nonnull instancetype)initWithLensContentMaxSize:
        (NSUInteger)lensContentMaxSize;

    Swift

    init(lensContentMaxSize: UInt)

    Parameters

    lensContentMaxSize

    max size for lens content cache