Barcode Selection Tap Selection

Defined under the namespace Scandit.Datacapture.Barcode.Selection

Note

Using this class requires the MatrixScan add-on.

BarcodeSelectionFreezeBehavior

Added in version 6.10.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.

Manual

Added in version 6.10.0

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

ManualAndAutomatic

Added in version 6.10.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.

Note

This setting is still in beta and may not yet work reliably in all situations.

BarcodeSelectionTapBehavior

Added in version 6.10.0

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

ToggleSelection

Added in version 6.10.0

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

RepeatSelection

Added in version 6.10.0

Tapping an unselected barcode selects it. Tapping on an already selected barcode will increment the count returned by BarcodeSelectionSession.getCount().

BarcodeSelectionTapSelection
class BarcodeSelectionTapSelection : BarcodeSelectionType

Added in version 6.10.0

Tap based selection, customizable via freezeBehavior and tapBehavior.

tapSelection()
static get tapSelection(): BarcodeSelectionTapSelection

Added in version 6.10.0

Creates a new BarcodeSelectionTapSelection instance.

withFreezeBehaviorAndTapBehavior(freezeBehavior, tapBehavior)
static withFreezeBehaviorAndTapBehavior(freezeBehavior: BarcodeSelectionFreezeBehavior,
        tapBehavior: BarcodeSelectionTapBehavior): BarcodeSelectionTapSelection

Added in version 6.10.0

Creates a new BarcodeSelectionTapSelection instance with the specified BarcodeSelectionFreezeBehavior and BarcodeSelectionTapBehavior.

freezeBehavior
freezeBehavior: BarcodeSelectionFreezeBehavior

Added in version 6.10.0

Freeze behavior to use, defaults to BarcodeSelectionFreezeBehavior.Manual

tapBehavior
tapBehavior: BarcodeSelectionTapBehavior

Added in version 6.10.0