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 package com.scandit.datacapture.barcode
- BarcodeSpatialGridElement
class BarcodeSpatialGridElementAdded in version 8.6.0
Object representing an element in the grid presented by BarcodeSpatialGrid. Always contains a mainBarcode barcode property; may contain the optional subBarcode barcode property.
- BarcodeSpatialGrid
class BarcodeSpatialGridAdded in version 8.6.0
Depending on the scanned barcodes the grid could be incomplete so for some coordinates the returned barcode could be null.
- rowCount
val rowCount:
IntAdded in version 8.6.0
The number of rows in the grid.
- columnCount
val columnCount:
IntAdded in version 8.6.0
The number of columns in the grid.
- elementAt(row, column)
fun elementAt(row:
Int, column:Int): BarcodeSpatialGridElement?Added in version 8.6.0
Returns the element at the specified coordinates. If there is no element null is returned.
- row(index)
fun row(index: Int): List<BarcodeSpatialGridElement?>
Added in version 8.6.0
Returns an array of elements corresponding to the selected row.
- column(index)
fun column(index: Int): List<BarcodeSpatialGridElement?>
Added in version 8.6.0
Returns an array of elements corresponding to the selected column.