Barcode Selection Tap Selection

Defined in library 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.

BarcodeSelectionTapSelection()
 BarcodeSelectionTapSelection()

Added in version 6.10.0

Creates a new BarcodeSelectionTapSelection instance.

BarcodeSelectionTapSelection.withFreezeBehaviourAndTapBehaviour(freezeBehavior, tapBehavior)
BarcodeSelectionTapSelection.withFreezeBehaviourAndTapBehaviour(
        BarcodeSelectionFreezeBehavior freezeBehavior,
        BarcodeSelectionTapBehavior tapBehavior)

Added in version 6.10.0

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

freezeBehavior
BarcodeSelectionFreezeBehavior freezeBehavior

Added in version 6.10.0

Freeze behavior to use, defaults to BarcodeSelectionFreezeBehavior.manual

tapBehavior
BarcodeSelectionTapBehavior tapBehavior

Added in version 6.10.0