SBSDKUIBarcodeTrackingOverlayConfiguration
@interface SBSDKUIBarcodeTrackingOverlayConfiguration : NSObject
The configuration object for a barcode selection overlay.
-
Displays an augmented reality view that draws the frames, content and type text of the found barcodes when it finds them. Defaults to NO.
Declaration
Objective-C
@property (nonatomic) BOOL overlayEnabled;
Swift
var overlayEnabled: Bool { get set }
-
If enabled, newly detected barcodes will be automatically selected. Otherwise the user has to tap on a barcode on the selection overlay to select it. Has no effect with disabled overlay. Defaults to NO.
Declaration
Objective-C
@property (nonatomic) BOOL automaticSelectionEnabled;
Swift
var automaticSelectionEnabled: Bool { get set }
-
The color for the results overlays polygons. The default color is a blueish green.
Declaration
Objective-C
@property (nonatomic, strong, nonnull) UIColor *polygonColor;
Swift
var polygonColor: UIColor { get set }
-
The text color for the results overlays. The default color is black.
Declaration
Objective-C
@property (nonatomic, strong, nonnull) UIColor *textColor;
Swift
var textColor: UIColor { get set }
-
The text background color for the results overlays. The default color is a blueish green.
Declaration
Objective-C
@property (nonatomic, strong, nonnull) UIColor *textContainerColor;
Swift
var textContainerColor: UIColor { get set }
-
The color for the results overlays polygons. The default color is red.
Declaration
Objective-C
@property (nonatomic, strong, nonnull) UIColor *highlightedPolygonColor;
Swift
var highlightedPolygonColor: UIColor { get set }
-
The text color for the results overlays. The default color is white.
Declaration
Objective-C
@property (nonatomic, strong, nonnull) UIColor *highlightedTextColor;
Swift
var highlightedTextColor: UIColor { get set }
-
The text background color for the results overlays. The default color is red.
Declaration
Objective-C
@property (nonatomic, strong, nonnull) UIColor *highlightedTextContainerColor;
Swift
var highlightedTextContainerColor: UIColor { get set }
-
The text format for the results overlays. The default text format is SBSDKBarcodeOverlayFormatTypeCode.
Declaration
Objective-C
@property (nonatomic) SBSDKBarcodeOverlayFormat overlayTextFormat;
Swift
var overlayTextFormat: SBSDKBarcodeOverlayFormat { get set }