SBSDKUIMedicalCertificateScannerUIConfiguration
@interface SBSDKUIMedicalCertificateScannerUIConfiguration : NSObject
Configuration for the user interface of the medical certificate scanner.
-
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 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 }
-
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 }
-
Whether the user guidance label is hidden or not.
Declaration
Objective-C
@property (nonatomic, assign, unsafe_unretained, readwrite, getter=isUserGuidanceHidden) BOOL userGuidanceHidden;
Swift
var isUserGuidanceHidden: Bool { get set }
-
The text color of the user guidance label.
Declaration
Objective-C
@property (nonatomic, strong, nonnull) UIColor *userGuidanceTextColor;
Swift
var userGuidanceTextColor: UIColor { get set }
-
The background color of the user guidance label.
Declaration
Objective-C
@property (nonatomic, strong, nonnull) UIColor *userGuidanceBackgroundColor;
Swift
var userGuidanceBackgroundColor: UIColor { get set }
-
The style of the dialog/alert in case of error.
Declaration
Objective-C
@property (nonatomic, strong, nonnull) SBSDKUIDialogStyle *errorDialogStyle;
Swift
var errorDialogStyle: SBSDKUIDialogStyle { get set }
-
The style of the dialogs/alerts OK button in case of error.
Declaration
Objective-C
@property (nonatomic, strong, nonnull) SBSDKUIDialogButtonStyle *errorDialogButtonStyle;
Swift
var errorDialogButtonStyle: SBSDKUIDialogButtonStyle { get set }
-
Line color of the view finder overlay.
Declaration
Objective-C
@property (nonatomic, strong, nonnull) UIColor *finderLineColor;
Swift
var finderLineColor: UIColor { get set }
-
Width of the view finders lines. Default is 2.
Declaration
Objective-C
@property (nonatomic) CGFloat finderLineWidth;
Swift
var finderLineWidth: CGFloat { get set }
-
Aspect ratio of the view finder (width \ height). Set to nil if no view finder should be displayed. The default is DIN A5 portrait: 148/210.
Declaration
Objective-C
@property (nonatomic, strong, nullable) SBSDKAspectRatio *finderAspectRatio;
Swift
var finderAspectRatio: SBSDKAspectRatio? { get set }
-
Secondary aspect ratio of finder frame (width \ height). Set to nil if no secondary view finder should be displayed. The default is DIN A6 landscape: 148/105.
Declaration
Objective-C
@property (nonatomic, strong, nullable) SBSDKAspectRatio *finderSecondaryAspectRatio;
Swift
var finderSecondaryAspectRatio: SBSDKAspectRatio? { get set }