Table of contents
Swift
Objective-C

BarcodeScannerConfig

BarcodeScannerConfig is the class that defines the configurations for Barcode scanning.

Definition

Assembly: Dynamsoft.BarcodeReaderBundle.Maui

Namespace: Dynamsoft.BarcodeReaderBundle.Maui

final class BarcodeScannerConfig

Properties

Property Type Description
License string Represents the license string.
TemplateFile string Represents the template with a file path or a JSON string.
IsTorchButtonVisible bool Represents the visibility status of the torch button.
IsBeepEnabled bool Represents the play status of the beep sound when a Barcode is scanned.
IsCloseButtonVisible bool Represents the visibility status of the close button.
IsGuideFrameVisible bool Represents the visibility status of the guide frame on the display.
IsCameraToggleButtonVisible bool Represents the visibility status of the camera toggle button.
ScanRegion DMRect? Represents the region to scan.
IsScanLaserVisible bool Represents the visibility status of the scan laser.
IsAutoZoomEnabled bool Represents the status of auto zoom.
BarcodeFormats EnumBarcodeFormat Represents the supported Barcode formats.
ScanningMode EnumScanningMode Represents the scanning mode.
MaxConsecutiveStableFramesToExit int Represents the maximum number of consecutive stable frames to exit.
ExpectedBarcodesCount int Represents the expected number of barcodes.

License

Represents the license string.

string License { get; set; };

TemplateFile

Represents the template with a file path or a JSON string.

string? TemplateFile { get; set; };

IsTorchButtonVisible

Represents the visibility status of the torch button.

bool IsTorchButtonVisible { get; set; };

IsBeepEnabled

Represents the play status of the beep sound when a Barcode is scanned.

bool IsBeepEnabled { get; set; };

IsCloseButtonVisible

Represents the visibility status of the close button.

bool IsCloseButtonVisible { get; set; };

IsCameraToggleButtonVisible

Represents the visibility status of the camera toggle button.

bool IsCameraToggleButtonVisible { get; set; };

ScanRegion

Represents the region to scan.

DMRect? ScanRegion { get; set; };

IsScanLaserVisible

Represents the visibility status of the scan laser.

bool IsScanLaserVisible { get; set; };

IsAutoZoomEnabled

Represents the status of auto zoom.

bool IsAutoZoomEnabled { get; set; };

BarcodeFormats

Represents the supported Barcode formats.

EnumBarcodeFormat BarcodeFormats { get; set; };

ScanningMode

Represents the scanning mode.

EnumScanningMode ScanningMode { get; set; };

MaxConsecutiveStableFramesToExit

Represents the maximum number of consecutive stable frames to exit.

int MaxConsecutiveStableFramesToExit { get; set; };

ExpectedBarcodesCount

Represents the expected number of barcodes.

int ExpectedBarcodesCount { get; set; };

This page is compatible for: