Barcode Data
data class BarcodeData(val data: String, val dataBytes: ByteArray, val quantity: Int, val symbologyId: Int, val symbology: String, val timeOfScan: String, val deviceId: String)
This class holds detailed information about a scanned barcode, including:
The processed barcode data (data), which may have undergone transformations based on scanner settings (e.g., preamble, prefix, suffix, postamble).
The raw byte representation (dataBytes) of the processed barcode data.
The quantity of the scanned item (quantity), which can be negative to indicate removal.
Information about the barcode symbology (symbology and symbologyId).
The time of the scan (timeOfScan).
The ID of the scanning device (deviceId).