MBPPhotopayOverlaySettings
Objective-C
@interface MBPPhotopayOverlaySettings : MBPBaseOverlaySettings
Swift
class MBPPhotopayOverlaySettings : MBPBaseOverlaySettings
Settings class containing parameters for PhotoPay UI
-
If YES, Toast (tooltip) messages will appear on screen describing the next steps to the user
Default: YES.
Declaration
Objective-C
@property (nonatomic) BOOL presentToast;
Swift
var presentToast: Bool { get set }
-
If YES, viewfinder (4 corner markers) will move when payslip is detected
Default: YES
Declaration
Objective-C
@property (nonatomic) BOOL viewfinderMoveable;
Swift
var viewfinderMoveable: Bool { get set }
-
If YES; barcode dots will be displayed if detected.
Default: NO
Declaration
Objective-C
@property (nonatomic) BOOL displayBarcodeDots;
Swift
var displayBarcodeDots: Bool { get set }
-
If YES; help button will be hidden.
Default: NO
Declaration
Objective-C
@property (nonatomic) BOOL displayHelpButton;
Swift
var displayHelpButton: Bool { get set }
-
Designated initializer. Initializes the object with default settings.
Declaration
Objective-C
- (nonnull instancetype)init;
Swift
init()
Return Value
object initialized with default values.