SBSDKUICheckRecognizerUIConfiguration

@interface SBSDKUICheckRecognizerUIConfiguration : NSObject

Configuration for the user interface of the check scanner.

  • 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 top bar buttons (flash) when disabled.

    Declaration

    Objective-C

    @property (nonatomic, strong, nonnull) UIColor *topBarButtonsInactiveColor;

    Swift

    var topBarButtonsInactiveColor: 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 foreground color of the viewFinder.

    Declaration

    Objective-C

    @property (nonatomic, strong, nonnull) UIColor *finderLineColor;

    Swift

    var finderLineColor: UIColor { get set }
  • The background color of the camera overlay outside the view finders area.

    Declaration

    Objective-C

    @property (nonatomic, strong, nonnull) UIColor *cameraOverlayColor;

    Swift

    var cameraOverlayColor: UIColor { get set }
  • The width of the view finder lines. The default value is 2.

    Declaration

    Objective-C

    @property (nonatomic) CGFloat finderLineWidth;

    Swift

    var finderLineWidth: CGFloat { 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 }