Note

The Barcode Count mapping API is still in beta and may change in future versions of Scandit Data Capture SDK.

Barcode Spatial Grid

Defined in library scandit_datacapture_barcode

BarcodeSpatialGrid
class BarcodeSpatialGrid

Added in version 8.3.0

Object that is returned by BarcodeCountSession.getSpatialMap(). Represents the result of mapping the barcodes, and sub-barcodes if present, in a grid. Depending on the scanned barcodes the grid could be incomplete so for some coordinates the returned barcode could be null.

rows
int get rows

Added in version 8.3.0

Returns the number of rows in the grid.

columns
int get columns

Added in version 8.3.0

Returns the number of columns in the grid.

barcodeAt(row, column)
Barcode? barcodeAt(int row,
        int column)

Added in version 8.3.0

Returns the barcode at the specified coordinates. If there is no barcode null is returned.

row(index)
List<Barcode> row(int index)

Added in version 8.3.0

Returns an array of Barcodes corresponding to the selected row.

column(index)
List<Barcode> column(int index)

Added in version 8.3.0

Returns an array of barcodes corresponding to the selected column.