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 String
getBarcodeValue()
Value of the barcode to find. final Unit
setBarcodeValue(String barcodeValue)
Value of the barcode to find. final String
getTitle()
Title of the barcode to find. final Unit
setTitle(String title)
Title of the barcode to find. final String
getImage()
Image of the barcode to find. final Unit
setImage(String image)
Image of the barcode to find. final Integer
getCount()
Number of barcodes with given symbology/value required to scan. final Unit
setCount(Integer count)
Number of barcodes with given symbology/value required to scan. final JSONObject
toJson()
-
-
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()
-
-
-
-