Barcode Check Session

Defined in package com.scandit.datacapture.barcode.check.capture

BarcodeCheckSession
class BarcodeCheckSession

Added in version 7.1.0

The BarcodeCheck session holds the ongoing state of a running BarcodeCheck.

addedTrackedBarcodes
@NonNull List<@NonNull TrackedBarcode> getAddedTrackedBarcodes()

Added in version 7.1.0

Newly tracked barcodes.

removedTrackedBarcodes
@NonNull List<@NonNull Integer> getRemovedTrackedBarcodes()

Added in version 7.1.0

An array of identifiers of lost barcodes that were removed in the last frame.

trackedBarcodes
@NonNull Map<@NonNull Integer, @NonNull TrackedBarcode> getTrackedBarcodes()

Added in version 7.1.0

A map from identifiers to barcodes. It contains all currently tracked barcodes.

reset()
void reset()

Added in version 7.1.0

Resets the session, clearing all barcodes and their states.

toJson()
@NonNull String toJson()

Added in version 7.1.0

Returns the JSON representation of the Barcode Check session.

Note

This class cannot be instantiated directly. Use the appropriate methods in BarcodeCheck to obtain instances of this class.