Protocols

The following protocols are available globally.

  • A delegate protocol to customize the behavior, look and feel of the SBSDKBarcodeScannerViewControllerDelegate.

    See more

    Declaration

    Objective-C

    @protocol SBSDKBarcodeScannerViewControllerDelegate <NSObject>

    Swift

    protocol SBSDKBarcodeScannerViewControllerDelegate : NSObjectProtocol
  • A delegate protocol that gathers AVCaptureVideoDataOutputSampleBufferDelegate and AVCaptureMetadataOutputObjectsDelegate protocols.

    Declaration

    Objective-C

    @protocol
        SBSDKCameraSessionDelegate <AVCaptureVideoDataOutputSampleBufferDelegate,
                                    AVCaptureMetadataOutputObjectsDelegate>

    Swift

    protocol SBSDKCameraSessionDelegate : AVCaptureMetadataOutputObjectsDelegate, AVCaptureVideoDataOutputSampleBufferDelegate
  • The delegate protocol for the ‘SBSDKFinderView’ class.

    See more

    Declaration

    Objective-C

    @protocol SBSDKFinderViewDelegate <NSObject>

    Swift

    protocol SBSDKFinderViewDelegate : NSObjectProtocol
  • Protocol for implementing encryption and decryption of data.

    ScanbotSDK comes with a built-in AES encryptor that currently supports AES128 and AES256. If these algorithms are not meeting your requirements you can create and use your own encryption classes in ScanbotSDKs image storages by simply conforming to this protocol and implementing the two methods.

    See more

    Declaration

    Objective-C

    @protocol SBSDKStorageCrypting <NSObject>

    Swift

    protocol SBSDKStorageCrypting : NSObjectProtocol
  • Delegate protocol for ‘SBSDKUIBarcodeScannerViewController’.

    See more

    Declaration

    Objective-C

    @protocol
        SBSDKUIBarcodeScannerViewControllerDelegate <SBSDKUIViewControllerDelegate>

    Swift

    protocol SBSDKUIBarcodeScannerViewControllerDelegate : SBSDKUIViewControllerDelegate
  • Protocol for ‘SBSDKUIBarcodesBatchScannerViewController’ barcode results mapping.

    See more

    Declaration

    Objective-C

    @protocol SBSDKUIBarcodesBatchScannerMapping

    Swift

    protocol SBSDKUIBarcodesBatchScannerMapping
  • Delegate protocol for ‘SBSDKUIBarcodesBatchScannerViewController’.

    See more

    Declaration

    Objective-C

    @protocol SBSDKUIBarcodesBatchScannerViewControllerDelegate <
        SBSDKUIViewControllerDelegate>

    Swift

    protocol SBSDKUIBarcodesBatchScannerViewControllerDelegate : UISplitViewControllerDelegate
  • General delegate protocol for SBSDKUViewController-based classes.

    See more

    Declaration

    Objective-C

    @protocol SBSDKUIViewControllerDelegate <NSObject>

    Swift

    protocol SBSDKUIViewControllerDelegate : NSObjectProtocol