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 (nonatomic, weak, nullable) id<SBSDKMultipleObjectScannerViewControllerDelegate> delegate;

    Swift

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

    Declaration

    Objective-C

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

    Swift

    var cameraSession: SBSDKCameraSession { get }
  • Hides or unhides the shutter button.

    Declaration

    Objective-C

    @property (nonatomic) BOOL shutterButtonHidden;

    Swift

    var shutterButtonHidden: Bool { get set }
  • 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 (nonatomic, strong, nullable) SBSDKFrameLimiter *frameLimiter;

    Swift

    var frameLimiter: SBSDKFrameLimiter? { get set }
  • Defines aspect ratio range. Only objects that are within this range will be detected. The default range is 1:2 - 2:1.;

    Declaration

    Objective-C

    @property (nonatomic, strong, nonnull) SBSDKAspectRatioRange *aspectRatioRange;

    Swift

    var aspectRatioRange: SBSDKAspectRatioRange { get set }
  • Foreground color of the detected objects polygon. *

    Declaration

    Objective-C

    @property (nonatomic, strong, nonnull) UIColor *polygonColor;

    Swift

    var polygonColor: UIColor { get set }
  • Background color of the detected objects polygon, when the polygons quality is not acceptable. *

    Declaration

    Objective-C

    @property (nonatomic, strong, nonnull) UIColor *polygonBackgroundColor;

    Swift

    var polygonBackgroundColor: UIColor { get set }
  • Width of the detected objects polygon in points.

    Declaration

    Objective-C

    @property (nonatomic) CGFloat polygonLineWidth;

    Swift

    var polygonLineWidth: CGFloat { get set }
  • Designated 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.