Table of Contents

Class BarcodeRecognizerConfiguration

Namespace
ScanbotSDK.MAUI.Barcode
Assembly
ScanbotSDK.Shared.dll

Configuration of the scanning behavior.

public class BarcodeRecognizerConfiguration
Inheritance
BarcodeRecognizerConfiguration
Inherited Members

Properties

AcceptedDocumentFormats

List of accepted barcode document formats.

public BarcodeDocumentFormat[] AcceptedDocumentFormats { get; set; }

Property Value

BarcodeDocumentFormat[]

BarcodeFormats

List of accepted barcode symbologies.

public BarcodeFormat[] BarcodeFormats { get; set; }

Property Value

BarcodeFormat[]

BarcodesExtensionFilter

Filter for extended EAN and UPC barcodes. Default is NO_FILTER

public BarcodesExtensionFilter BarcodesExtensionFilter { get; set; }

Property Value

BarcodesExtensionFilter

BarcodesRegexFilter

Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off). This option overrides barcodesExtensionFilter option. Default is ""

public string BarcodesRegexFilter { get; set; }

Property Value

string

CodeDensity

The expected quantity of QR codes in an image. Default is LOW

public CodeDensity CodeDensity { get; set; }

Property Value

CodeDensity

Gs1Handling

The expected way of handling GS1_COMPOSITE barcodes. Default is PARSE

public Gs1Handling Gs1Handling { get; set; }

Property Value

Gs1Handling

LowPowerMode

If true, enables a mode that slightly decreases scanning quality and energy consumption. Increases scanning speed. If false, the mode is disabled. The default is false. Android only. Default is false

public bool LowPowerMode { get; set; }

Property Value

bool

MaximumTextLength

Optional maximum text length of the detected barcode. The default is 0 (setting is turned off). NOTE - This feature works on ITF barcodes only. Default is 0

public int MaximumTextLength { get; set; }

Property Value

int

Minimum1DBarcodesQuietZone

Optional minimum required quiet zone on the barcode. Measured in modules (the smallest bar size on a barcode). The default is 10. NOTE - This feature works on ITF barcodes only. Default is 10

public int Minimum1DBarcodesQuietZone { get; set; }

Property Value

int

MinimumTextLength

Optional minimum required text length of the detected barcode. The default is 0 (setting is turned off). NOTE - This feature works on ITF barcodes only. Default is 0

public int MinimumTextLength { get; set; }

Property Value

int

MsiPlesseyChecksumAlgorithm

Checksum algorithm used for MSI Plessey barcodes. The default value is MOD_10. Default is MOD_10

public MSIPlesseyChecksumAlgorithm MsiPlesseyChecksumAlgorithm { get; set; }

Property Value

MSIPlesseyChecksumAlgorithm

StripCheckDigits

If true, check digits for UPC, EAN and MSI Plessey codes are removed from the result. Has no effect if both single and double digit MSI Plessey checksums are enabled. The default is false. Default is false

public bool StripCheckDigits { get; set; }

Property Value

bool

Methods

FromJson(string)

public static BarcodeRecognizerConfiguration FromJson(string rawJson)

Parameters

rawJson string

Returns

BarcodeRecognizerConfiguration

FromNative(BarcodeRecognizerConfiguration)

public static BarcodeRecognizerConfiguration FromNative(BarcodeRecognizerConfiguration source)

Parameters

source BarcodeRecognizerConfiguration

Returns

BarcodeRecognizerConfiguration

ToNative()

public BarcodeRecognizerConfiguration ToNative()

Returns

BarcodeRecognizerConfiguration