Protocols
The following protocols are available globally.
-
A delegate protocol to customize the behavior, look and feel of the SBSDKBarcodeScannerViewControllerDelegate.
See moreDeclaration
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 moreDeclaration
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 moreDeclaration
Objective-C
@protocol SBSDKStorageCrypting <NSObject>
Swift
protocol SBSDKStorageCrypting : NSObjectProtocol
-
Delegate protocol for ‘SBSDKUIBarcodeScannerViewController’.
See moreDeclaration
Objective-C
@protocol SBSDKUIBarcodeScannerViewControllerDelegate <SBSDKUIViewControllerDelegate>
Swift
protocol SBSDKUIBarcodeScannerViewControllerDelegate : SBSDKUIViewControllerDelegate
-
Protocol for ‘SBSDKUIBarcodesBatchScannerViewController’ barcode results mapping.
See moreDeclaration
Objective-C
@protocol SBSDKUIBarcodesBatchScannerMapping
Swift
protocol SBSDKUIBarcodesBatchScannerMapping
-
Delegate protocol for ‘SBSDKUIBarcodesBatchScannerViewController’.
See moreDeclaration
Objective-C
@protocol SBSDKUIBarcodesBatchScannerViewControllerDelegate < SBSDKUIViewControllerDelegate>
Swift
protocol SBSDKUIBarcodesBatchScannerViewControllerDelegate : UISplitViewControllerDelegate
-
General delegate protocol for SBSDKUViewController-based classes.
See moreDeclaration
Objective-C
@protocol SBSDKUIViewControllerDelegate <NSObject>
Swift
protocol SBSDKUIViewControllerDelegate : NSObjectProtocol