SBSDKMultipleObjectScannerViewController
@interface SBSDKMultipleObjectScannerViewController
: SBSDKBaseScannerViewController
A UIViewController subclass to scan 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 }
-
Hides or unhides the shutter button.
Declaration
Objective-C
@property (nonatomic) BOOL shutterButtonHidden;
Swift
var shutterButtonHidden: Bool { 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 }
-
The encrypter object to encrypt/decrypt stored images. If nil, no encryption or decryption takes place.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) id<SBSDKStorageCrypting> encrypter;
Swift
var encrypter: SBSDKStorageCrypting? { get }
-
Not available.
Declaration
Objective-C
- (nonnull instancetype)init;
-
Not available.
Declaration
Objective-C
+ (nonnull instancetype)new;
-
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.
-
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 withEncrypter:(nullable id<SBSDKStorageCrypting>)encrypter;
Swift
init?(parentViewController: UIViewController, parentView containerView: UIView?, withEncrypter encrypter: SBSDKStorageCrypting?)
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.