Class ExpectedBarcode
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class ExpectedBarcode implements Parcelable
Configuration of the barcode to find and scan.
-
-
Constructor Summary
Constructors Constructor Description ExpectedBarcode(Map<String, Object> source)ExpectedBarcode(JSONObject json)ExpectedBarcode(String barcodeValue, String title, String image, Integer count)
-
Method Summary
Modifier and Type Method Description final StringgetBarcodeValue()Value of the barcode to find. final UnitsetBarcodeValue(String barcodeValue)Value of the barcode to find. final StringgetTitle()Title of the barcode to find. final UnitsetTitle(String title)Title of the barcode to find. final StringgetImage()Image of the barcode to find. final UnitsetImage(String image)Image of the barcode to find. final IntegergetCount()Number of barcodes with given symbology/value required to scan. final UnitsetCount(Integer count)Number of barcodes with given symbology/value required to scan. final JSONObjecttoJson(ToJsonConfiguration config)final ExpectedBarcodeclone()-
-
Method Detail
-
getBarcodeValue
final String getBarcodeValue()
Value of the barcode to find. If not set, any barcode value will be accepted.
-
setBarcodeValue
final Unit setBarcodeValue(String barcodeValue)
Value of the barcode to find. If not set, any barcode value will be accepted.
-
getCount
final Integer getCount()
Number of barcodes with given symbology/value required to scan.
Default is 1
-
setCount
final Unit setCount(Integer count)
Number of barcodes with given symbology/value required to scan.
Default is 1
-
toJson
final JSONObject toJson(ToJsonConfiguration config)
-
clone
final ExpectedBarcode clone()
-
-
-
-