SBSDKUIBarcodeScannerUIConfiguration
@interface SBSDKUIBarcodeScannerUIConfiguration : NSObject
Configuration for user interface of the detector screens for barcodes.
-
Foreground color of the cancel button and when flash button is on.
Declaration
Objective-C
@property (nonatomic, strong, nonnull) UIColor *topBarButtonsColor;
Swift
var topBarButtonsColor: UIColor { get set }
-
Background color of the top bar.
Declaration
Objective-C
@property (nonatomic, strong, nonnull) UIColor *topBarBackgroundColor;
Swift
var topBarBackgroundColor: UIColor { get set }
-
Foreground color of the flash button when flash is off.
Declaration
Objective-C
@property (nonatomic, strong, nonnull) UIColor *flashButtonInactiveColor;
Swift
var flashButtonInactiveColor: UIColor { get set }
-
Background color of the detection overlay.
Declaration
Objective-C
@property (nonatomic, strong, nonnull) UIColor *cameraOverlayColor;
Swift
var cameraOverlayColor: UIColor { get set }
-
Foreground color of the detection overlay.
Declaration
Objective-C
@property (nonatomic, strong, nonnull) UIColor *finderLineColor;
Swift
var finderLineColor: UIColor { get set }
-
Width of finder frame border. Default is 2.
Declaration
Objective-C
@property (nonatomic) CGFloat finderLineWidth;
Swift
var finderLineWidth: CGFloat { get set }
-
Aspect ratio of finder frame (width \ height), which is used to build actual finder frame. Default is 1 - it is a square frame, which is good for QR capturing.
Declaration
Objective-C
@property (nonatomic, strong, nonnull) SBSDKAspectRatio *finderAspectRatio;
Swift
var finderAspectRatio: SBSDKAspectRatio { get set }
-
Foreground color of the description label.
Declaration
Objective-C
@property (nonatomic, strong, nonnull) UIColor *finderTextHintColor;
Swift
var finderTextHintColor: UIColor { get set }
-
Whether the flash button is hidden or not.
Declaration
Objective-C
@property (nonatomic, assign, unsafe_unretained, readwrite, getter=isFlashButtonHidden) BOOL flashButtonHidden;
Swift
var isFlashButtonHidden: Bool { get set }
-
Whether the cancel button is hidden or not.
Declaration
Objective-C
@property (nonatomic, assign, unsafe_unretained, readwrite, getter=isCancelButtonHidden) BOOL cancelButtonHidden;
Swift
var isCancelButtonHidden: Bool { get set }
-
Allowed orientations for automatic interface rotations. *
Declaration
Objective-C
@property (nonatomic) SBSDKOrientationLock orientationLockMode;
Swift
var orientationLockMode: SBSDKOrientationLock { get set }
-
The style of the confirmation dialog.
Declaration
Objective-C
@property (nonatomic, strong) SBSDKUIDialogStyle *_Nonnull confirmationDialogStyle;
Swift
var confirmationDialogStyle: SBSDKUIDialogStyle { get set }
-
The style of the confirmation dialogs confirm button.
Declaration
Objective-C
@property (nonatomic, strong) SBSDKUIDialogButtonStyle *_Nonnull confirmationDialogConfirmButtonStyle;
Swift
var confirmationDialogConfirmButtonStyle: SBSDKUIDialogButtonStyle { get set }
-
The style of the confirmation dialogs retry button.
Declaration
Objective-C
@property (nonatomic, strong) SBSDKUIDialogButtonStyle *_Nonnull confirmationDialogRetryButtonStyle;
Swift
var confirmationDialogRetryButtonStyle: SBSDKUIDialogButtonStyle { get set }