SBSDKUIMultipleObjectScannerBehaviorConfiguration

@interface SBSDKUIMultipleObjectScannerBehaviorConfiguration : NSObject

Configuration for the behavior of the document scanning screen.

  • Whether multi-page snapping is enabled or not. Default is NO.

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite,
              getter=isBatchModeEnabled) BOOL batchModeEnabled;

    Swift

    var isBatchModeEnabled: Bool { get set }
  • Whether flash is toggled on or off. Default is NO.

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite,
              getter=isFlashEnabled) BOOL flashEnabled;

    Swift

    var isFlashEnabled: Bool { get set }
  • The video layers content mode. Default is SBSDKVideoContentModeFillIn

    Declaration

    Objective-C

    @property (nonatomic) SBSDKVideoContentMode cameraPreviewMode;

    Swift

    var cameraPreviewMode: SBSDKVideoContentMode { get set }
  • Maximum number of pages to scan. Ignored when set to nil, or when batchModeEnabled is NO. Default is nil.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSNumber *maxNumberOfPages;

    Swift

    var maxNumberOfPages: NSNumber? { 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 }