Table of Contents

Class BaseBarcodeScannerView

Namespace
ScanbotSDK.MAUI.ClassicComponent
Assembly
ScanbotSDK.Shared.dll
public abstract class BaseBarcodeScannerView : View, INotifyPropertyChanged, IVisualTreeElement, IEffectControlProvider, IToolTipElement, IContextFlyoutElement, IAnimatable, IPropertyMapperView, IHotReloadableView, IView, IElement, ITransform, IReplaceableView, IViewController, IVisualElementController, IElementController, IGestureController, IGestureRecognizers
Inheritance
BaseBarcodeScannerView
Implements
Derived
Inherited Members

Fields

AcceptedDocumentFormatsProperty

public static readonly BindableProperty AcceptedDocumentFormatsProperty

Field Value

BindableProperty

BarcodeFormatsProperty

public static readonly BindableProperty BarcodeFormatsProperty

Field Value

BindableProperty

CameraModuleProperty

Represents all supported cameras.

public static readonly BindableProperty CameraModuleProperty

Field Value

BindableProperty

CameraZoomLevelProperty

public static readonly BindableProperty CameraZoomLevelProperty

Field Value

BindableProperty

CameraZoomRangeProperty

public static readonly BindableProperty CameraZoomRangeProperty

Field Value

BindableProperty

FinderConfigurationProperty

public static readonly BindableProperty FinderConfigurationProperty

Field Value

BindableProperty

FreezeCameraHandler

public EventHandler<EventArgs> FreezeCameraHandler

Field Value

EventHandler<EventArgs>

IsFlashEnabledProperty

public static readonly BindableProperty IsFlashEnabledProperty

Field Value

BindableProperty

MinFocusDistanceLockProperty

public static readonly BindableProperty MinFocusDistanceLockProperty

Field Value

BindableProperty

OverlayConfigurationProperty

public static readonly BindableProperty OverlayConfigurationProperty

Field Value

BindableProperty

RegularExpressionPatternProperty

public static readonly BindableProperty RegularExpressionPatternProperty

Field Value

BindableProperty

UnFreezeCameraHandler

public EventHandler<EventArgs> UnFreezeCameraHandler

Field Value

EventHandler<EventArgs>

Properties

AcceptedDocumentFormats

An optional array of Document Formats that act as a detection filter. Only the specified Document Formats will be recognized! Default is empty (all supported Document Formats will be recognized)

public List<BarcodeDocumentFormat> AcceptedDocumentFormats { get; set; }

Property Value

List<BarcodeDocumentFormat>

BarcodeFormats

List of accepted barcode formats.

public List<BarcodeFormat> BarcodeFormats { get; set; }

Property Value

List<BarcodeFormat>

CameraModule

public CameraModule CameraModule { get; set; }

Property Value

CameraModule

CameraZoomLevel

The relative zoom level of the camera relative to CameraZoomRange. The minimum value is 0.0 (zoomed out), the maximum value is 1.0 (zoomed in). The default value is 0.0, zoomed out.

public float? CameraZoomLevel { get; set; }

Property Value

float?

CameraZoomRange

The range of valid camera zoom factors. Default value is (1.0; 12.0). Use [ZoomRange.Default] property to use the default zoom range.

public ZoomRange CameraZoomRange { get; set; }

Property Value

ZoomRange

FinderConfiguration

public FinderConfiguration FinderConfiguration { get; set; }

Property Value

FinderConfiguration

IsFlashEnabled

public bool IsFlashEnabled { get; set; }

Property Value

bool

MinFocusDistanceLock

Whether to lock the focus on the minimum possible distance (device-specific). Default is false. Works on iOS only if you have a single camera.

public bool MinFocusDistanceLock { get; set; }

Property Value

bool

OverlayConfiguration

Overlay configuration. If enabled, PolygonColor, TextColor and TextContainerColor are required, rest are optional

public SelectionOverlayConfiguration OverlayConfiguration { get; set; }

Property Value

SelectionOverlayConfiguration

RegularExpressionPattern

public Regex RegularExpressionPattern { get; set; }

Property Value

Regex

Methods

FreezeCamera()

public void FreezeCamera()

OnParentSet()

protected override void OnParentSet()

UnFreezeCamera()

public void UnFreezeCamera()