ExpectedBarcode

data class ExpectedBarcode(var barcodeValue: String, var title: String?, var image: String?, var count: Int = 1)

Configuration of the barcode to find and scan.

Constructors

Link copied to clipboard
constructor(source: Map<String, Any?>)
constructor(json: JsonObject)
constructor(barcodeValue: String, title: String?, image: String?, count: Int = 1)

Properties

Link copied to clipboard

Value of the barcode to find. If not set, any barcode value will be accepted.

Link copied to clipboard
var count: Int

Number of barcodes with given symbology/value required to scan. Default is 1

Link copied to clipboard

Image of the barcode to find.

Link copied to clipboard

Title of the barcode to find.

Functions

Link copied to clipboard
fun toJson(): JsonObject