SBSDKUIWorkflowScannerUIConfiguration

@interface SBSDKUIWorkflowScannerUIConfiguration : NSObject

User interface configuration object for a ‘SBSDKUIWorkflowScannerViewController’.

  • Foreground color of the flash button when deactivated.

    Declaration

    Objective-C

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

    Swift

    var topBarButtonsInactiveColor: UIColor { get set }
  • Foreground color of the cancel button and the flash button when activated.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic, nonnull)
        UIColor *topBarButtonsActiveColor;

    Swift

    var topBarButtonsActiveColor: UIColor { get set }
  • Background color of the top bar.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic, nonnull) UIColor *topBarBackgroundColor;

    Swift

    var topBarBackgroundColor: UIColor { get set }
  • Foreground color of the detection overlay.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic, nullable) UIColor *finderLineColor;

    Swift

    var finderLineColor: UIColor? { get set }
  • Background color of the detection overlay.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic, nullable)
        UIColor *finderBackgroundColor;

    Swift

    var finderBackgroundColor: UIColor? { get set }
  • Foreground color of the step title label.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic, nonnull) UIColor *titleTextColor;

    Swift

    var titleTextColor: UIColor { get set }
  • Foreground color of the step message label.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic, nonnull) UIColor *messageTextColor;

    Swift

    var messageTextColor: UIColor { get set }
  • Background color of the bottom bar.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic, nonnull)
        UIColor *bottomBarBackgroundColor;

    Swift

    var bottomBarBackgroundColor: UIColor { get set }
  • Whether the cancel button is hidden or not.

    Declaration

    Objective-C

    @property (getter=isCancelButtonHidden, assign, readwrite, nonatomic)
        BOOL cancelButtonHidden;

    Swift

    var isCancelButtonHidden: Bool { get set }
  • Allowed orientations for automatic interface rotations. *

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic)
        UIInterfaceOrientationMask allowedInterfaceOrientations;

    Swift

    var allowedInterfaceOrientations: UIInterfaceOrientationMask { get set }
  • Foreground color of the detected documents polygon, when the polygons quality is acceptable. *

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic, nonnull) UIColor *polygonColorOK;

    Swift

    var polygonColorOK: UIColor { get set }
  • Foreground color of the detected documents polygon, when the polygons quality is not acceptable. *

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic, nonnull) UIColor *polygonColor;

    Swift

    var polygonColor: UIColor { get set }
  • Background color of the detected documents polygon, when the polygons quality is acceptable. *

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic, nonnull)
        UIColor *polygonBackgroundColorOK;

    Swift

    var polygonBackgroundColorOK: UIColor { get set }
  • Background color of the detected documents polygon, when the polygons quality is not acceptable. *

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic, nonnull)
        UIColor *polygonBackgroundColor;

    Swift

    var polygonBackgroundColor: UIColor { get set }
  • Width of the detected documents polygon in points.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) CGFloat polygonLineWidth;

    Swift

    var polygonLineWidth: CGFloat { get set }
  • Background color of the user guidance label.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic, nonnull)
        UIColor *userGuidanceBackgroundColor;

    Swift

    var userGuidanceBackgroundColor: UIColor { get set }
  • Foreground/text color of the user guidance label.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic, nonnull) UIColor *userGuidanceTextColor;

    Swift

    var userGuidanceTextColor: UIColor { get set }