Barcode Selection Automatic Aimer Selection

Defined in package com.scandit.datacapture.barcode.selection

BarcodeSelectionAimerBehavior

Added in version 6.17.0

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

TOGGLE_SELECTION

Added in version 6.17.0

Aiming and tapping an unselected barcode select it. Aiming and tapping an already selected barcode unselect it. The behavior does not apply when using BarcodeSelectionAutoSelectionStrategy. In this case, REPEAT_SELECTION is always in used.

REPEAT_SELECTION

Added in version 6.17.0

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

BarcodeSelectionAimerSelection
class BarcodeSelectionAimerSelection : BarcodeSelectionType

Added in version 6.9.0

Aimer based selection, customizable via selectionStrategy.

BarcodeSelectionAimerSelection()
BarcodeSelectionAimerSelection()

Added in version 6.9.0

Creates a new BarcodeSelectionAimerSelection instance.

BarcodeSelectionAimerSelection()
BarcodeSelectionAimerSelection(BarcodeSelectionAimerBehavior aimerBehavior)

Added in version 6.17.0

Creates a new BarcodeSelectionAimerSelection instance with the specified BarcodeSelectionAimerBehavior.

selectionStrategy
@NonNull BarcodeSelectionStrategy getSelectionStrategy()
void setSelectionStrategy(@NonNull BarcodeSelectionStrategy value)

Added in version 6.9.0

The selection strategy to use. Defaults to BarcodeSelectionManualSelectionStrategy.

aimerBehavior
BarcodeSelectionAimerBehavior getAimerBehavior()
void setAimerBehavior(BarcodeSelectionAimerBehavior value)

Added in version 6.17.0

Aimer behavior to use. Defaults to BarcodeSelectionAimerBehavior.REPEAT_SELECTION.

toJson()
@NonNull String toJson()

Added in version 6.10.0

Returns the JSON representation.