Protocols

The following protocols are available globally.

  • 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 ‘SBSDKFinderLayer’ class.

    See more

    Declaration

    Objective-C

    @protocol SBSDKFinderLayerDelegate

    Swift

    protocol SBSDKFinderLayerDelegate
  • Protocol for an order-aware (array like) image storage.

    See more

    Declaration

    Objective-C

    @protocol SBSDKImageStoring <NSObject, NSCopying>

    Swift

    protocol SBSDKImageStoring : NSCopying, NSObjectProtocol
  • @protocol SBSDKMachineReadableCodeParsing The protocol any machine readable code parser must conform to. Each parser converts a SBSDKMachineReadableCodeMetadata into a subclass of SBSDKMachineReadableCode or nil.

    See more

    Declaration

    Objective-C

    @protocol SBSDKMachineReadableCodeParsing

    Swift

    protocol SBSDKMachineReadableCodeParsing
  • The delegate protocol for SBSDKMultipleObkectsViewController.

    See more

    Declaration

    Objective-C

    @protocol SBSDKMultipleObjectScannerViewControllerDelegate <NSObject>

    Swift

    protocol SBSDKMultipleObjectScannerViewControllerDelegate : NSObjectProtocol
  • A delegate protocol to customize the behavior, look and feel of the SBSDKScannerViewController.

    See more

    Declaration

    Objective-C

    @protocol SBSDKScannerViewControllerDelegate <NSObject>

    Swift

    protocol SBSDKScannerViewControllerDelegate : NSObjectProtocol
  • General delegate protocol for SBSDKUViewController-based classes.

    See more

    Declaration

    Objective-C

    @protocol SBSDKUIViewControllerDelegate <NSObject>

    Swift

    protocol SBSDKUIViewControllerDelegate : NSObjectProtocol