Barcode Selection Tap Selection#

Defined in framework ScanditBarcodeCapture

Note

The Barcode Selection API is still in beta and may change in future versions of the Scandit Data Capture SDK.

SDCBarcodeSelectionFreezeBehavior#

Added in version 6.6.0

Enum used to specify how freezing of the frame preview should be handled. Freezing the preview helps the user select multiple codes which might be difficult to do on a live preview where the codes constantly move around a bit.

SDCBarcodeSelectionFreezeBehaviorManual#

Added in version 6.6.0

The frame preview can only be frozen manually by double tapping anywhere on the screen.

SDCBarcodeSelectionFreezeBehaviorManualAndAutomatic#

Added in version 6.6.0

The frame preview is automatically frozen when all barcodes in view are recognized. It can also be frozen manually by double tapping anywhere on the screen.

SDCBarcodeSelectionTapBehavior#

Added in version 6.6.0

Enum used to specify what happens when the user taps a barcode.

SDCBarcodeSelectionTapBehaviorToggleSelection#

Added in version 6.6.0

Tapping an unselected barcode selects it. Tapping an already selected barcode will unselect it.

SDCBarcodeSelectionTapBehaviorRepeatSelection#

Added in version 6.6.0

Tapping an unselected barcode selects it. Tapping on an already selected barcode will increment the count returned by SDCBarcodeSelectionSession.countForBarcode:.

SDCBarcodeSelectionTapSelection#
@interface SDCBarcodeSelectionTapSelection : NSObject <SDCBarcodeSelectionType>

Added in version 6.6.0

Tap based selection, customizable via freezeBehavior and tapBehavior.

+ tapSelection#
+ (instancetype)tapSelection

Added in version 6.6.0

Creates a new SDCBarcodeSelectionTapSelection instance.

+ tapSelectionWithFreezeBehavior:tapBehavior:
+ (instancetype)tapSelectionWithFreezeBehavior:(SDCBarcodeSelectionFreezeBehavior)
                                               freezeBehavior
                                   tapBehavior:(SDCBarcodeSelectionTapBehavior)tapBehavior

Added in version 6.6.0

Creates a new SDCBarcodeSelectionTapSelection instance with the specified SDCBarcodeSelectionFreezeBehavior and SDCBarcodeSelectionTapBehavior.

freezeBehavior#
@property (nonatomic) SDCBarcodeSelectionFreezeBehavior freezeBehavior

Added in version 6.6.0

Freeze behavior to use, defaults to SDCBarcodeSelectionFreezeBehaviorManual

tapBehavior#
@property (nonatomic) SDCBarcodeSelectionTapBehavior tapBehavior

Added in version 6.6.0

Tap behavior to use, defaults to SDCBarcodeSelectionTapBehaviorToggleSelection