Class BarcodeScannerUiItem
-
- All Implemented Interfaces:
-
android.os.Parcelable
,java.lang.AutoCloseable
public final class BarcodeScannerUiItem implements AutoCloseable, Parcelable
Data about the scanned barcode.
-
-
Field Summary
Fields Modifier and Type Field Description private final BarcodeItem
barcode
private final Integer
count
-
Constructor Summary
Constructors Constructor Description BarcodeScannerUiItem(Map<String, Object> source)
BarcodeScannerUiItem(JSONObject json)
BarcodeScannerUiItem(BarcodeItem barcode, Integer count)
-
Method Summary
Modifier and Type Method Description final BarcodeItem
getBarcode()
Scanned barcode. final Integer
getCount()
Number of scanned barcodes of this symbology and value. final JSONObject
toJson(ToJsonConfiguration config)
final BarcodeScannerUiItem
clone()
Unit
close()
-
-
-
Constructor Detail
-
BarcodeScannerUiItem
BarcodeScannerUiItem(JSONObject json)
-
BarcodeScannerUiItem
BarcodeScannerUiItem(BarcodeItem barcode, Integer count)
-
-
Method Detail
-
getBarcode
final BarcodeItem getBarcode()
Scanned barcode.
-
toJson
final JSONObject toJson(ToJsonConfiguration config)
-
clone
final BarcodeScannerUiItem clone()
-
-