Class BaseBarcodeScannerView
- Namespace
- ScanbotSDK.MAUI.Barcode.ClassicComponent
- Assembly
- ScanbotSDK.Shared.dll
public abstract class BaseBarcodeScannerView : View, INotifyPropertyChanged, IVisualTreeElement, IEffectControlProvider, IToolTipElement, IContextFlyoutElement, IAnimatable, IViewController, IVisualElementController, IElementController, IGestureController, IGestureRecognizers, IPropertyMapperView, IHotReloadableView, IReplaceableView, IView, ITransform, IElement
- Inheritance
-
BaseBarcodeScannerView
- Implements
- Derived
- Inherited Members
Fields
AccumulationConfigurationProperty
public static readonly BindableProperty AccumulationConfigurationProperty
Field Value
BarcodeFormatConfigurationsProperty
public static readonly BindableProperty BarcodeFormatConfigurationsProperty
Field Value
CameraModuleProperty
Represents all supported cameras.
public static readonly BindableProperty CameraModuleProperty
Field Value
CameraZoomLevelProperty
public static readonly BindableProperty CameraZoomLevelProperty
Field Value
CameraZoomRangeProperty
public static readonly BindableProperty CameraZoomRangeProperty
Field Value
EngineModeProperty
public static readonly BindableProperty EngineModeProperty
Field Value
ExtractedDocumentFormatsProperty
public static readonly BindableProperty ExtractedDocumentFormatsProperty
Field Value
FinderConfigurationProperty
public static readonly BindableProperty FinderConfigurationProperty
Field Value
FpsLimitProperty
public static readonly BindableProperty FpsLimitProperty
Field Value
IsFlashEnabledProperty
public static readonly BindableProperty IsFlashEnabledProperty
Field Value
KeepScreenOnProperty
public static readonly BindableProperty KeepScreenOnProperty
Field Value
MinFocusDistanceLockProperty
public static readonly BindableProperty MinFocusDistanceLockProperty
Field Value
OnlyAcceptDocumentsProperty
public static readonly BindableProperty OnlyAcceptDocumentsProperty
Field Value
OptimizeForOverlaysProperty
public static readonly BindableProperty OptimizeForOverlaysProperty
Field Value
OverlayConfigurationProperty
public static readonly BindableProperty OverlayConfigurationProperty
Field Value
Properties
AccumulationConfiguration
public BarcodeAccumulationConfiguration AccumulationConfiguration { get; set; }
Property Value
BarcodeFormatConfigurations
List of accepted barcode formats.
public List<BarcodeFormatConfigurationBase> BarcodeFormatConfigurations { get; set; }
Property Value
CameraModule
public CameraModule CameraModule { get; set; }
Property Value
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
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
EngineMode
The engine mode for barcode scanning. Default is BarcodeScannerEngineMode.NextGen.
public BarcodeScannerEngineMode EngineMode { get; set; }
Property Value
ExtractedDocumentFormats
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> ExtractedDocumentFormats { get; set; }
Property Value
FinderConfiguration
public FinderConfiguration FinderConfiguration { get; set; }
Property Value
FpsLimit
The rate of detections/recognitions per second in normal performance mode. If the number is equal or greater than the video frame rate, no frames will be skipped. By default, the frame rate is set to the maximum possible value.
public float? FpsLimit { get; set; }
Property Value
IsFlashEnabled
public bool IsFlashEnabled { get; set; }
Property Value
KeepScreenOn
public bool? KeepScreenOn { 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
OnlyAcceptDocuments
If true and ExtractedDocumentFormats is not empty, then barcodes that don't decode to one of the extracted document formats will be ignored. Default is false.
public bool OnlyAcceptDocuments { get; set; }
Property Value
OptimizeForOverlays
public bool OptimizeForOverlays { get; set; }
Property Value
OverlayConfiguration
Overlay configuration. If enabled, PolygonColor, TextColor and TextContainerColor are required, rest are optional
public SelectionOverlayConfiguration OverlayConfiguration { get; set; }
Property Value
Methods
FreezeCamera()
public void FreezeCamera()
RaiseScanningFailed(Exception)
protected void RaiseScanningFailed(Exception ex)
Parameters
exException
UnFreezeCamera()
public void UnFreezeCamera()
Events
OnBarcodeScanningError
public event EventHandler<Exception> OnBarcodeScanningError