SBSDKUIMultipleObjectScannerBehaviorConfiguration

@interface SBSDKUIMultipleObjectScannerBehaviorConfiguration : NSObject

Subconfiguration 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 SBSDKUIVideoContentModeFillIn

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite)
        SBSDKUIVideoContentMode cameraPreviewMode;

    Swift

    var cameraPreviewMode: SBSDKUIVideoContentMode { 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, readwrite, 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, readwrite, nonnull)
        SBSDKAspectRatioRange *aspectRatioRange;

    Swift

    var aspectRatioRange: SBSDKAspectRatioRange { get set }