Table of Contents

Class BarcodeScannerView

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

Constructors

BarcodeScannerView()

public BarcodeScannerView()

Fields

OnPauseHandler

We call this from our Page in accord to the view lifecycle (OnDisappearing)

public EventHandler<EventArgs> OnPauseHandler

Field Value

EventHandler<EventArgs>

OnResumeHandler

We call this from our Page in accord to the view lifecycle (OnAppearing)

public EventHandler<EventArgs> OnResumeHandler

Field Value

EventHandler<EventArgs>

StartDetectionHandler

We call this from our Page when we want to start detecting barcodes.

public EventHandler<EventArgs> StartDetectionHandler

Field Value

EventHandler<EventArgs>

StopDetectionHandler

We call this from our Page when we want to stop detecting barcodes.

public EventHandler<EventArgs> StopDetectionHandler

Field Value

EventHandler<EventArgs>

Properties

OverlayTextEnabled

public bool OverlayTextEnabled { get; set; }

Property Value

bool

Methods

GetSelectedBarcodes()

public IEnumerable<BarcodeResultBundle> GetSelectedBarcodes()

Returns

IEnumerable<BarcodeResultBundle>

Pause()

public void Pause()

RaiseBarcodeScanResult(BarcodeResultBundle)

protected void RaiseBarcodeScanResult(BarcodeResultBundle result)

Parameters

result BarcodeResultBundle

RaiseSelectBarcodeResult(BarcodeResultBundle)

protected void RaiseSelectBarcodeResult(BarcodeResultBundle result)

Parameters

result BarcodeResultBundle

Resume()

public void Resume()

StartDetection()

public void StartDetection()

StopDetection()

public void StopDetection()

Events

OnBarcodeScanResult

public event BarcodeScannerView.BarcodeScannerResultHandler OnBarcodeScanResult

Event Type

BarcodeScannerView.BarcodeScannerResultHandler

OnSelectBarcodeResult

public event BarcodeScannerView.SelectBarcodeResultHandler OnSelectBarcodeResult

Event Type

BarcodeScannerView.SelectBarcodeResultHandler