Barcode Info
data class BarcodeInfo(val id: Long, val symbology: String, val data: String, val rawData: ByteArray?, var currentPosition: BarcodePosition?)
A class representing data and position of a single barcode. Its companion object also contains all the constants information for the symbology reference
Since
1.0.0
Parameters
id
a unique id used to identify a barcode for a tracking session.
symbology
an enum or string type representing the type of the barcode data. all possible values are within BarcodeInfo.allSupportedBarcodeSymbology
data
String encoded barcode data.
raw Data
a byte array containing raw barcode data.
current Position
a position data indicating the current relative location of the barcode from top left corner a frame.
Constructors
Link copied to clipboard
fun BarcodeInfo(id: Long, symbology: String, data: String, rawData: ByteArray?, currentPosition: BarcodePosition?)
Types
Link copied to clipboard
object Companion
This is the constant value for developer to use when filling in the configuration for supported symbology Also, BarcodeInfo would use the following constant strings in BarcodeInfo.symbology