SBSDKBarcodeTrackingOverlayController
@objcMembers
public class SBSDKBarcodeTrackingOverlayController : NSObject
A class that represents an overlay used for visualizing detected barcodes. It provides a customizable user interface for displaying barcodes and supports interaction with them. The overlay can be used to highlight and select barcodes based on user input.
Note
To use the barcode tracking overlay, you should set itsconfiguration
property to customize the appearance and behavior of the overlay.
-
The configuration object that controls the appearance and behavior of the barcode tracking overlay.
Declaration
Swift
public var configuration: SBSDKBarcodeTrackingOverlayConfiguration { get set }
-
The delegate for the tracking overlay controller.
Declaration
Swift
public weak var delegate: SBSDKBarcodeTrackingOverlayControllerDelegate? { get set }
-
Wether the tracking overlay is hidden or not.
Declaration
Swift
public var isHidden: Bool { get set }
-
Initializes and returns a barcode tracking overlay controller with the default configuration and no delegate.
Declaration
Swift
public override init()
Return Value
An initialized
SBSDKBarcodeTrackingOverlay
instance.
-
Resets the tracking overlay, removes all tracked barcode views and clears the selected barcodes.
Declaration
Swift
@objc public func reset()