Table of Contents

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

barcodeValue string
title string
image string
count int?

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

string

Count

Number of barcodes with given symbology/value required to scan. Default is 1

public int Count { get; set; }

Property Value

int

Image

Image of the barcode to find.

[JsonRequired]
public string Image { get; set; }

Property Value

string

Title

Title of the barcode to find.

[JsonRequired]
public string Title { get; set; }

Property Value

string

Methods

FromJson(string)

public static ExpectedBarcode FromJson(string rawJson)

Parameters

rawJson string

Returns

ExpectedBarcode

FromNative(ExpectedBarcode)

public static ExpectedBarcode FromNative(ExpectedBarcode source)

Parameters

source ExpectedBarcode

Returns

ExpectedBarcode

ToNative()

public ExpectedBarcode ToNative()

Returns

ExpectedBarcode