BarcodeScannerResult

data class BarcodeScannerResult(val barcodes: List<BarcodeItem>, val success: Boolean) : AutoCloseable, Parcelable

The result of barcode scanning.

Constructors

Link copied to clipboard
constructor(source: Map<String, Any?>)
constructor(json: JSONObject)
constructor(barcodes: List<BarcodeItem>, success: Boolean)

Properties

Link copied to clipboard

List of found barcodes.

Link copied to clipboard

True if any barcodes were found.

Functions

Link copied to clipboard
Link copied to clipboard
open override fun close()
Link copied to clipboard
fun toJson(config: ToJsonConfiguration = ToJsonConfiguration.default()): JSONObject