SBSDKUIGenericDocumentRecognizerUIConfiguration
@interface SBSDKUIGenericDocumentRecognizerUIConfiguration : NSObject
Configuration for the user interface of the generic document recognizer screens.
-
Foreground color of the top bar buttons on the scanning screen.
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 *topBarButtonsInactiveColor;
Swift
var topBarButtonsInactiveColor: 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 }
-
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 }
-
Text color of the fields count label.
Declaration
Objective-C
@property (nonatomic, strong, nonnull) UIColor *fieldsCountTextColor;
Swift
var fieldsCountTextColor: UIColor { get set }
-
Text color in the details list. Also affects image background and separator.
Declaration
Objective-C
@property (nonatomic, strong, nonnull) UIColor *detailsPrimaryColor;
Swift
var detailsPrimaryColor: UIColor { get set }
-
Foreground color of the top bar buttons on the details screen.
Declaration
Objective-C
@property (nonatomic, strong, nonnull) UIColor *detailsActionColor;
Swift
var detailsActionColor: UIColor { get set }
-
Text color for section headers on the details screen.
Declaration
Objective-C
@property (nonatomic, strong, nonnull) UIColor *detailsSectionHeaderTextColor;
Swift
var detailsSectionHeaderTextColor: UIColor { get set }
-
Background color for section headers on the details screen.
Declaration
Objective-C
@property (nonatomic, strong, nonnull) UIColor *detailsSectionHeaderBackgroundColor;
Swift
var detailsSectionHeaderBackgroundColor: UIColor { get set }
-
Background color of the details screen.
Declaration
Objective-C
@property (nonatomic, strong, nonnull) UIColor *detailsBackgroundColor;
Swift
var detailsBackgroundColor: UIColor { get set }
-
Color of confidence value label background in details screen, when the field confidence level is high.
Declaration
Objective-C
@property (nonatomic, strong, nonnull) UIColor *fieldConfidenceHighColor;
Swift
var fieldConfidenceHighColor: UIColor { get set }
-
Color of confidence value label background in details screen, when the field confidence level is moderate.
Declaration
Objective-C
@property (nonatomic, strong, nonnull) UIColor *fieldConfidenceModerateColor;
Swift
var fieldConfidenceModerateColor: UIColor { get set }
-
Color of confidence value label background in details screen, when the field confidence level is low.
Declaration
Objective-C
@property (nonatomic, strong, nonnull) UIColor *fieldConfidenceLowColor;
Swift
var fieldConfidenceLowColor: UIColor { get set }
-
Color of confidence value label text in details.
Declaration
Objective-C
@property (nonatomic, strong, nonnull) UIColor *fieldConfidenceTextColor;
Swift
var fieldConfidenceTextColor: UIColor { get set }
-
Color of tip text on scanning screen.
Declaration
Objective-C
@property (nonatomic, strong, nonnull) UIColor *tipTextColor;
Swift
var tipTextColor: UIColor { get set }
-
Color of tip background on scanning screen.
Declaration
Objective-C
@property (nonatomic, strong, nonnull) UIColor *tipBackgroundColor;
Swift
var tipBackgroundColor: UIColor { get set }
-
A mutable dictionary of user defined visibility states for generic document field types. Filled with default values. Each key is equal to a fields
normalizedName
property. The values contain the state of visibility for the corresponding fields. Use this property to configure the filtering of document fields in the user interface.Declaration
Objective-C
@property (nonatomic, strong, nonnull) NSMutableDictionary<NSString *, SBSDKGenericDocumentFieldDisplayState> *fieldTypeVisibilities;
Swift
var fieldTypeVisibilities: NSMutableDictionary { get set }