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
OnResumeHandler
We call this from our Page in accord to the view lifecycle (OnAppearing)
public EventHandler<EventArgs> OnResumeHandler
Field Value
StartDetectionHandler
We call this from our Page when we want to start detecting barcodes.
public EventHandler<EventArgs> StartDetectionHandler
Field Value
StopDetectionHandler
We call this from our Page when we want to stop detecting barcodes.
public EventHandler<EventArgs> StopDetectionHandler
Field Value
Properties
OverlayTextEnabled
public bool OverlayTextEnabled { get; set; }
Property Value
Methods
GetSelectedBarcodes()
public IEnumerable<BarcodeResultBundle> GetSelectedBarcodes()
Returns
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
OnSelectBarcodeResult
public event BarcodeScannerView.SelectBarcodeResultHandler OnSelectBarcodeResult