Selection Mode

Defined in package com.scandit.datacapture.core.source

SelectionMode

Added in version 8.5.0

Controls whether the aimed-at barcode is scanned without user confirmation. Used by BarcodeCaptureSettings and SparkScanSettings.

OFF

Added in version 8.5.0

Selection is never active. Barcodes are scanned automatically as soon as they are aimed at.

ON

Added in version 8.5.0

Selection is always active. The aimed barcode is highlighted but only delivered after the user confirms it — by tapping the preview in BarcodeCapture, or by tapping the dedicated trigger button in SparkScan.

AUTO

Added in version 8.5.0

The SDK decides dynamically whether selection is active, based on device capabilities and scene conditions. This is the recommended replacement for the deprecated ScanIntention.SMART_SELECTION.

Note

AUTO requires the scan intention to be set to ScanIntention.SMART; with ScanIntention.MANUAL it behaves like OFF. Automatic selection only activates on devices that support Smart.