Sequenced Barcode

Defined in package com.scandit.datacapture.barcode.sequence.data

SequencedBarcode
class SequencedBarcode

Added in version 8.0.0

A barcode within a shelf sequencing context that includes positional information.

Represents a barcode that has been processed as part of shelf sequencing operations. This class provides access to the barcode data along with its positional order within a tray structure.

orderOnTray
val orderOnTray: Int

Added in version 8.0.0

The positional order of this barcode on its associated tray. This value indicates the sequence position of the barcode relative to other barcodes on the same tray.

The order is negative when the barcode is not associated with a tray.

It starts at BarcodeSequenceSettings.initialOrderOnTray on the first tray of the session and at 0 on every later tray.

barcode
val barcode: Barcode

Added in version 8.0.0

The barcode data associated with this sequenced instance.

expectedOrderOnTray
val expectedOrderOnTray: Int

Added in version 8.7.0

The expected positional order of this barcode on its associated tray, relative to other barcodes on the same tray, according to the verification planogram. -1 when no planogram is set or the barcode is not part of it. On the first tray of the planogram it counts up from BarcodeSequenceSettings.initialOrderOnTray, like orderOnTray, so the two can be compared directly.

trayOrderOnShelf
val trayOrderOnShelf: Int

Added in version 8.7.0

The position of the tray of the sequenced barcode on the shelf, counting up from BarcodeSequenceSettings.initialOrderOnShelf. -1 when the tray of the barcode is not known.

expectedOrderOnShelf
val expectedOrderOnShelf: Int

Added in version 8.7.0

The expected position of the tray of the sequenced barcode on the shelf, according to the verification planogram. -1 when no planogram is set or the barcode is not part of it. It counts up from BarcodeSequenceSettings.initialOrderOnShelf, like trayOrderOnShelf, so the two can be compared directly.

Note

This class cannot be instantiated directly. Instances are provided through shelf sequencing operations.