ExpectedBarcode

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

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? = null, image: String? = null, 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.

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
Link copied to clipboard
fun toJson(config: ToJsonConfiguration = ToJsonConfiguration.default()): JSONObject