MBPFieldByFieldOverlaySettings

Objective-C


@interface MBPFieldByFieldOverlaySettings : MBPOverlaySettings

Swift

class MBPFieldByFieldOverlaySettings : MBPOverlaySettings

Settings class containing UI information

  • Designated initializer for settings.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithScanElements:
        (nonnull NSArray<MBPScanElement *> *)scanElements;

    Swift

    init(scanElements: [MBPScanElement])
  • Array of MBPScanElement objects which defines which Elements are scanned.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) NSArray<MBPScanElement *> *_Nonnull scanElements;

    Swift

    var scanElements: [MBPScanElement] { get }
  • Property that enables showing of flashing dots over characters being scanned.

    Default: YES

    Declaration

    Objective-C

    @property (nonatomic) BOOL showOcrDots;

    Swift

    var showOcrDots: Bool { get set }
  • Property that enables outputting images of sucessful scans for each element scanned.

    Default: NO

    Declaration

    Objective-C

    @property (nonatomic) BOOL outputSuccessfulImages;

    Swift

    var outputSuccessfulImages: Bool { get set }
  • Number of times same parse result needs to be outputted to be considered valid

    Default: 3

    Declaration

    Objective-C

    @property (nonatomic) NSInteger consecutiveScanThreshold;

    Swift

    var consecutiveScanThreshold: Int { get set }
  • Background color of successful scan result

    Declaration

    Objective-C

    @property (nonatomic) UIColor *_Nonnull scanResultViewColor;

    Swift

    var scanResultViewColor: UIColor { get set }
  • Returns/sets next button description text that is shown above next button when there are still scanning elements left to be scanned

    Default: string defined by “btn_next” key in strings file in Microblink.bundle

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nonnull nextButtonDescriptionText;

    Swift

    var nextButtonDescriptionText: String { get set }
  • Returns/sets next button description text that is shown above next button when there are no scanning elements left to be scanned

    Default: string defined by “continue” key in strings file in Microblink.bundle

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nonnull nextButtonLastDescriptionText;

    Swift

    var nextButtonLastDescriptionText: String { get set }