SBSDKBarcodeTrackingOverlayConfiguration
@objcMembers
public class SBSDKBarcodeTrackingOverlayConfiguration : NSObject
A class that represents the configuration options for a SBSDKBarcodeTrackingOverlayController
.
This overlay is used to visualize the detected barcodes on the screen.
The class provides various customization options for the appearance and behavior of the overlay.
-
Determines the default style of the polygon rendered around the barcode.
Declaration
Swift
public var polygonStyle: SBSDKBarcodeTrackedViewPolygonStyle
-
Determines the default style and kind of the text rendered around the barcode when not using a custom tracked view.
Declaration
Swift
public var textStyle: SBSDKBarcodeTrackedViewTextStyle
-
Determines whether the barcode polygons should be automatically selected and highlighted if tapped.
Default:
true
Declaration
Swift
public var isSelectable: Bool
-
Determines whether automatic barcode selection is enabled. When enabled, the detected barcodes will be automatically selected.
Default:
false
Declaration
Swift
public var isAutomaticSelectionEnabled: Bool
-
A custom view that can be displayed over the barcode. Must conform to
SBSDKTrackedBarcodeInfoView
.Declaration
Swift
public var customView: SBSDKTrackedBarcodeInfoView?