SBSDKUIMachineCodeScannerBehaviorConfiguration

@interface SBSDKUIMachineCodeScannerBehaviorConfiguration : NSObject

Subconfiguration for the behavior of bar codes, QR codes and machine readable zones scanners.

  • Whether flash is toggled on or off.

    Declaration

    Objective-C

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

    Swift

    var isFlashEnabled: Bool { get set }
  • Whether scanner screen should make a sound on successful barcode or MRZ detection.

    Declaration

    Objective-C

    @property (getter=isSuccessBeepEnabled, assign, readwrite, nonatomic)
        BOOL successBeepEnabled;

    Swift

    var isSuccessBeepEnabled: Bool { get set }