Barcode Selection Listener#

Defined in library scandit_datacapture_barcode_selection

BarcodeSelectionListener#
abstract class BarcodeSelectionListener

Added in version 6.10.0

The BarcodeSelection listener is the main way for hooking into BarcodeSelection. It provides a callback that is invoked when the state of selected barcodes changes.

didUpdateSelection(barcodeSelection, session)#
void didUpdateSelection(BarcodeSelection barcodeSelection,
        BarcodeSelectionSession session)

Added in version 6.10.0

Invoked whenever a barcode is selected or a previously selected barcode is unselected.

didUpdateSession(barcodeSelection, session)#
void didUpdateSession(BarcodeSelection barcodeSelection,
        BarcodeSelectionSession session)

Added in version 6.10.0

Invoked after a frame has been processed by barcode selection and the session has been updated. In contrast to didUpdateSelection(), this method is invoked, regardless whether a code was selected or not.