Class ExpectedBarcode
- Namespace
- ScanbotSDK.MAUI.Barcode
- Assembly
- ScanbotSDK.Shared.dll
Configuration of the barcode to find and scan.
public class ExpectedBarcode
- Inheritance
-
ExpectedBarcode
- Inherited Members
Constructors
ExpectedBarcode()
public ExpectedBarcode()
ExpectedBarcode(string, string, string, int?)
public ExpectedBarcode(string barcodeValue, string title, string image, int? count = null)
Parameters
Properties
BarcodeValue
Value of the barcode to find. If not set, any barcode value will be accepted.
[JsonRequired]
public string BarcodeValue { get; set; }
Property Value
Count
Number of barcodes with given symbology/value required to scan. Default is 1
public int Count { get; set; }
Property Value
Image
Image of the barcode to find.
[JsonRequired]
public string Image { get; set; }
Property Value
Title
Title of the barcode to find.
[JsonRequired]
public string Title { get; set; }
Property Value
Methods
FromJson(string)
public static ExpectedBarcode FromJson(string rawJson)
Parameters
rawJson
string
Returns
FromNative(ExpectedBarcode)
public static ExpectedBarcode FromNative(ExpectedBarcode source)
Parameters
source
ExpectedBarcode
Returns
ToNative()
public ExpectedBarcode ToNative()