Protocols
The following protocols are available globally.
-
A delegate protocol to handle barcode results from SBSDKBarcodeScanAndCountViewController.
See moreDeclaration
Objective-C
@protocol SBSDKBarcodeScanAndCountViewControllerDelegate <NSObject>
Swift
protocol SBSDKBarcodeScanAndCountViewControllerDelegate : NSObjectProtocol
-
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 protocol for drawing boxes with SBSDKBoxesLayer. Any class that has a drawable rectangular component and should be drawn into a SBSDKBoxesLayer must implement this protocol.
See moreDeclaration
Objective-C
@protocol SBSDKBoxedObject <NSObject>
Swift
protocol SBSDKBoxedObject : NSObjectProtocol
-
A delegate protocol that gathers AVCaptureVideoDataOutputSampleBufferDelegate and AVCaptureMetadataOutputObjectsDelegate protocols.
Declaration
Objective-C
@protocol SBSDKCameraSessionDelegate <AVCaptureVideoDataOutputSampleBufferDelegate, AVCaptureMetadataOutputObjectsDelegate>
Swift
protocol SBSDKCameraSessionDelegate : AVCaptureMetadataOutputObjectsDelegate, AVCaptureVideoDataOutputSampleBufferDelegate
-
The delegation protocol for the
See moreSBSDKCheckRecognizerViewController
class.Declaration
Objective-C
@protocol SBSDKCheckRecognizerViewControllerDelegate <NSObject>
Swift
protocol SBSDKCheckRecognizerViewControllerDelegate : NSObjectProtocol
-
The delegate protocol of ‘SBSDKDocumentScannerViewController’.
See moreDeclaration
Objective-C
@protocol SBSDKDocumentScannerViewControllerDelegate <NSObject>
Swift
protocol SBSDKDocumentScannerViewControllerDelegate : NSObjectProtocol
-
The delegate protocol for the ‘SBSDKFinderView’ class.
See moreDeclaration
Objective-C
@protocol SBSDKFinderViewDelegate <NSObject>
Swift
protocol SBSDKFinderViewDelegate : NSObjectProtocol
-
The delegate protocol for the SBSDKGenericDocumentRecognizerViewController.
See moreDeclaration
Objective-C
@protocol SBSDKGenericDocumentRecognizerViewControllerDelegate <NSObject>
Swift
protocol SBSDKGenericDocumentRecognizerViewControllerDelegate : NSObjectProtocol
-
The delegation protocol for ‘SBSDKGenericTextLineRecognizerViewController’.
See moreDeclaration
Objective-C
@protocol SBSDKGenericTextLineRecognizerViewControllerDelegate <NSObject>
Swift
protocol SBSDKGenericTextLineRecognizerViewControllerDelegate : NSObjectProtocol
-
The delegation protocol for the
See moreSBSDKHealthInsuranceCardScannerViewController
class.Declaration
Objective-C
@protocol SBSDKHealthInsuranceCardScannerViewControllerDelegate <NSObject>
Swift
protocol SBSDKHealthInsuranceCardScannerViewControllerDelegate : NSObjectProtocol
-
A delegate protocol to inform an object about changes in
See moreSBSDKImageEditingViewController
.Declaration
Objective-C
@protocol SBSDKImageEditingViewControllerDelegate <NSObject>
Swift
protocol SBSDKImageEditingViewControllerDelegate : NSObjectProtocol
-
Protocol for an order-aware (array like) image storage.
See moreDeclaration
Objective-C
@protocol SBSDKImageStoring <NSObject, NSCopying>
Swift
protocol SBSDKImageStoring : NSCopying, NSObjectProtocol
-
The delegate protocol for the SBSDKLicensePlateScannerViewController.
See moreDeclaration
Objective-C
@protocol SBSDKLicensePlateScannerViewControllerDelegate <NSObject>
Swift
protocol SBSDKLicensePlateScannerViewControllerDelegate : NSObjectProtocol
-
The delegation protocol for the
See moreSBSDKMRZScannerViewController
class.Declaration
Objective-C
@protocol SBSDKMRZScannerViewControllerDelegate <NSObject>
Swift
protocol SBSDKMRZScannerViewControllerDelegate : NSObjectProtocol
-
The delegation protocol for the
See moreSBSDKMedicalCertificateScannerViewController
class.Declaration
Objective-C
@protocol SBSDKMedicalCertificateScannerViewControllerDelegate <NSObject>
Swift
protocol SBSDKMedicalCertificateScannerViewControllerDelegate : 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 : SBSDKUIViewControllerDelegate
-
The delegation protocol for
See moreSBSDKUICheckRecognizerViewController
.Declaration
Objective-C
@protocol SBSDKUICheckRecognizerViewControllerDelegate <NSObject>
Swift
protocol SBSDKUICheckRecognizerViewControllerDelegate : NSObjectProtocol
-
Delegate protocol for ‘SBSDKUICroppingViewController’.
See moreDeclaration
Objective-C
@protocol SBSDKUICroppingViewControllerDelegate <SBSDKUIViewControllerDelegate>
Swift
protocol SBSDKUICroppingViewControllerDelegate : SBSDKUIViewControllerDelegate
-
Delegate protocol for ‘SBSDKUIDocumentScannerViewController’.
See moreDeclaration
Objective-C
@protocol SBSDKUIDocumentScannerViewControllerDelegate <SBSDKUIViewControllerDelegate>
Swift
protocol SBSDKUIDocumentScannerViewControllerDelegate : SBSDKUIViewControllerDelegate
-
Delegate protocol for ‘SBSDKUIFinderDocumentScannerViewController’.
See moreDeclaration
Objective-C
@protocol SBSDKUIFinderDocumentScannerViewControllerDelegate < SBSDKUIViewControllerDelegate>
Swift
protocol SBSDKUIFinderDocumentScannerViewControllerDelegate : SBSDKUIViewControllerDelegate
-
Delegate protocol for ‘SBSDKUIGenericDocumentRecognizerViewController’.
See moreDeclaration
Objective-C
@protocol SBSDKUIGenericDocumentRecognizerViewControllerDelegate < SBSDKUIViewControllerDelegate>
Swift
protocol SBSDKUIGenericDocumentRecognizerViewControllerDelegate : SBSDKUIViewControllerDelegate
-
Delegate protocol for ‘SBSDKUIHealthInsuranceCardScannerViewController’.
See moreDeclaration
Objective-C
@protocol SBSDKUIHealthInsuranceCardScannerViewControllerDelegate < SBSDKUIViewControllerDelegate>
Swift
protocol SBSDKUIHealthInsuranceCardScannerViewControllerDelegate : SBSDKUIViewControllerDelegate
-
Delegate protocol for ‘SBSDKUILicensePlateScannerViewController’.
See moreDeclaration
Objective-C
@protocol SBSDKUILicensePlateScannerViewControllerDelegate < SBSDKUIViewControllerDelegate>
Swift
protocol SBSDKUILicensePlateScannerViewControllerDelegate : SBSDKUIViewControllerDelegate
-
Delegate protocol for ‘SBSDKUIMRZScannerViewController’.
See moreDeclaration
Objective-C
@protocol SBSDKUIMRZScannerViewControllerDelegate <SBSDKUIViewControllerDelegate>
Swift
protocol SBSDKUIMRZScannerViewControllerDelegate : SBSDKUIViewControllerDelegate
-
The delegation protocol for
See moreSBSDKUIMedicalCertificateScannerViewController
.Declaration
Objective-C
@protocol SBSDKUIMedicalCertificateScannerViewControllerDelegate <NSObject>
Swift
protocol SBSDKUIMedicalCertificateScannerViewControllerDelegate : NSObjectProtocol
-
Delegate protocol for ‘SBSDKUITextDataScannerViewController’.
See moreDeclaration
Objective-C
@protocol SBSDKUITextDataScannerViewControllerDelegate <SBSDKUIViewControllerDelegate>
Swift
protocol SBSDKUITextDataScannerViewControllerDelegate : SBSDKUIViewControllerDelegate
-
Delegate protocol for ‘SBSDKUIVINScannerViewControllerDelegate’.
See moreDeclaration
Objective-C
@protocol SBSDKUIVINScannerViewControllerDelegate <SBSDKUIViewControllerDelegate>
Swift
protocol SBSDKUIVINScannerViewControllerDelegate : SBSDKUIViewControllerDelegate
-
General delegate protocol for SBSDKUViewController-based classes.
See moreDeclaration
Objective-C
@protocol SBSDKUIViewControllerDelegate <NSObject>
Swift
protocol SBSDKUIViewControllerDelegate : NSObjectProtocol
-
The delegation protocol for ‘SBSDKVINScannerViewController’.
See moreDeclaration
Objective-C
@protocol SBSDKVINScannerViewControllerDelegate <NSObject>
Swift
protocol SBSDKVINScannerViewControllerDelegate : NSObjectProtocol
-
The delegation protocol for the barcode tracking overlay controller.
See moreDeclaration
Swift
@objc public protocol SBSDKBarcodeTrackingOverlayControllerDelegate
-
A protocol that defines the methods and properties required for a custom tracking view to be displayed over detected barcodes using the
See moreSBSDKBarcodeTrackingOverlayConfiguration
. The custom view must conform to this protocol in order to be used as an overlay on top of the detected barcodes.Declaration
Swift
@objc public protocol SBSDKTrackedBarcodeInfoViewable