SBSDKMultipleObjectScannerViewController

@interface SBSDKMultipleObjectScannerViewController : UIViewController

A view controller for scanning multiple objects on a single captured still image. *

  • The delegate. See SBSDKMultipleObjectScannerViewController protocol. Weak.

    Declaration

    Objective-C

    @property (readwrite, nonatomic, nullable)
        id<SBSDKMultipleObjectScannerViewControllerDelegate>
            delegate;

    Swift

    weak var delegate: SBSDKMultipleObjectScannerViewControllerDelegate? { get set }
  • The controllers camera session.

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic, nonnull)
        SBSDKCameraSession *cameraSession;

    Swift

    var cameraSession: SBSDKCameraSession { get }
  • The frame limiter object. Limits the live-detection to a given value of frames per second. Default: detection is limited to 20 frames per second. This saves CPU power and therefore battery power.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic, nullable)
        SBSDKFrameLimiter *frameLimiter;

    Swift

    var frameLimiter: SBSDKFrameLimiter? { get set }
  • Desginated initializer. Installs the receiver as child view controller onto the parent view controllers view using its entire bounds area.

    Declaration

    Objective-C

    - (nullable instancetype)initWithParentViewController:
                                 (nonnull UIViewController *)parentViewController
                                               parentView:
                                                   (nullable UIView *)containerView;

    Swift

    init?(parentViewController: UIViewController, parentView containerView: UIView?)

    Parameters

    parentViewController

    The view controller the newly created instance is embedded into. If parentViewController conforms to SBSDKMultipleObjectScannerViewControllerDelegate, it is automatically set as delegate.

    containerView

    The view the newly created instance is embedded into. If nil the parentViewControllers view is used.