Barcode Selection Basic Overlay#

Defined in framework ScanditBarcodeCapture

SDCBarcodeSelectionBasicOverlay#
@interface SDCBarcodeSelectionBasicOverlay : UIView <SDCDataCaptureOverlay>

Added in version 6.6.0

An overlay for SDCDataCaptureView that shows a simple augmentation over each selected barcode.

To display the augmentations, this overlay must be attached to a SDCDataCaptureView. This may be done either by creating it with overlayWithBarcodeSelection:forDataCaptureView: with a non-null view parameter or by passing this overlay to SDCDataCaptureView.addOverlay:.

A user of this class may configure the appearance of the augmentations by configuring the brush properties.

+ overlayWithBarcodeSelection:forDataCaptureView:#
+ (instancetype)overlayWithBarcodeSelection:(nonnull SDCBarcodeSelection *)barcodeSelection
                         forDataCaptureView:(nullable SDCDataCaptureView *)view

Added in version 6.6.0

Constructs a new barcode selection basic overlay for the barcode selection instance. The overlay is automatically added to the view.

+ overlayWithBarcodeSelection:#
+ (instancetype)overlayWithBarcodeSelection:(nonnull SDCBarcodeSelection *)barcodeSelection

Added in version 6.6.0

Constructs a new barcode selection basic overlay for the barcode selection instance. For the overlay to be displayed on screen, it must be added to a SDCDataCaptureView.

defaultTrackedBrush#
@property (class, nonatomic, nonnull, readonly) SDCBrush *defaultTrackedBrush

Added in version 6.6.0

The default brush applied to recognized tracked barcodes.

defaultAimedBrush#
@property (class, nonatomic, nonnull, readonly) SDCBrush *defaultAimedBrush

Added in version 6.6.0

The default brush applied to aimed barcodes.

defaultSelectedBrush#
@property (class, nonatomic, nonnull, readonly) SDCBrush *defaultSelectedBrush

Added in version 6.6.0

The default brush applied to selected barcodes.

defaultSelectingBrush#
@property (class, nonatomic, nonnull, readonly) SDCBrush *defaultSelectingBrush

Added in version 6.6.0

The default brush applied to barcodes currently being selected.

trackedBrush#
@property (nonatomic, strong, nonnull) SDCBrush *trackedBrush

Added in version 6.6.0

The brush applied to recognized tracked barcodes, by default the value is set to defaultTrackedBrush. Setting this brush to SDCBrush.transparentBrush hides all tracked barcodes.

aimedBrush#
@property (nonatomic, strong, nonnull) SDCBrush *aimedBrush

Added in version 6.6.0

The brush applied to the barcode that is currently being aimed at, by default the value is set to defaultAimedBrush.

selectedBrush#
@property (nonatomic, strong, nonnull) SDCBrush *selectedBrush

Added in version 6.6.0

The brush applied to selected barcodes, by default the value is set to defaultSelectedBrush. Setting this brush to SDCBrush.transparentBrush hides all selected barcodes.

selectingBrush#
@property (nonatomic, strong, nonnull) SDCBrush *selectingBrush

Added in version 6.6.0

The brush applied to the barcodes for the short moment when they are being selected, by default the value is set to defaultSelectingBrush.

shouldShowScanAreaGuides#
@property (nonatomic, assign) BOOL shouldShowScanAreaGuides

Added in version 6.6.0

When set to YES, this overlay will visualize the active scan area used for BarcodeSelection. This is useful to check margins defined on the SDCDataCaptureView are set correctly. This property is meant for debugging during development and is not intended for use in production.

By default this property is NO.

shouldShowHints#
@property (nonatomic, assign) BOOL shouldShowHints

Added in version 6.6.0

When set to YES, this overlay will visualize some hints explaining how to use barcode selection.

By default this property is YES.

viewfinder#
@property (nonatomic, strong, nonnull, readonly) id<SDCViewfinder> viewfinder

Added in version 6.6.0

The viewfinder of the overlay. The viewfinder is only visible when the selection type is SDCBarcodeSelectionAimerSelection.

- clearSelectedBarcodeBrushes#
- (void)clearSelectedBarcodeBrushes

Added in version 6.6.0

Clears all currently displayed visualizations for the on screen barcodes.

This only applies to the currently displayed barcodes, the visualizations for the new ones will still appear.