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
BarcodeFormatsProperty
public static readonly BindableProperty BarcodeFormatsProperty
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
FinderConfigurationProperty
public static readonly BindableProperty FinderConfigurationProperty
Field Value
FreezeCameraHandler
public EventHandler<EventArgs> FreezeCameraHandler
Field Value
IsFlashEnabledProperty
public static readonly BindableProperty IsFlashEnabledProperty
Field Value
MinFocusDistanceLockProperty
public static readonly BindableProperty MinFocusDistanceLockProperty
Field Value
OverlayConfigurationProperty
public static readonly BindableProperty OverlayConfigurationProperty
Field Value
RegularExpressionPatternProperty
public static readonly BindableProperty RegularExpressionPatternProperty
Field Value
UnFreezeCameraHandler
public EventHandler<EventArgs> UnFreezeCameraHandler
Field Value
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
BarcodeFormats
List of accepted barcode formats.
public List<BarcodeFormat> BarcodeFormats { 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
FinderConfiguration
public FinderConfiguration FinderConfiguration { get; set; }
Property Value
IsFlashEnabled
public bool IsFlashEnabled { get; set; }
Property Value
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
OverlayConfiguration
Overlay configuration. If enabled, PolygonColor, TextColor and TextContainerColor are required, rest are optional
public SelectionOverlayConfiguration OverlayConfiguration { get; set; }
Property Value
RegularExpressionPattern
public Regex RegularExpressionPattern { get; set; }
Property Value
Methods
FreezeCamera()
public void FreezeCamera()
OnParentSet()
protected override void OnParentSet()
UnFreezeCamera()
public void UnFreezeCamera()