SBSDKUIBarcodeImageStorage

@interface SBSDKUIBarcodeImageStorage : NSObject

Class which handles storing and removing barcode images from SBSDKUIBarcodeScannerViewController.

  • Sets base folder for barcode images storing. A separate folder for barcode images will be created in this folder.

    Declaration

    Objective-C

    + (void)setBaseStorageURL:(NSURL *_Nullable)url;

    Swift

    class func setBaseStorageURL(_ url: URL?)

    Parameters

    url

    URL which will be used as a base storage folder. In case of nil - default URL will be used.

  • Removes folder with barcode images. Does not affect base folder.

    Declaration

    Objective-C

    + (void)cleanUpStorage;

    Swift

    class func cleanUp()