Table of Contents

Class ArOverlayGeneralConfiguration

Namespace
ScanbotSDK.MAUI.Barcode
Assembly
ScanbotSDK.Shared.dll

Configuration of the AR overlay displayed on top of barcodes in the camera preview.

public class ArOverlayGeneralConfiguration
Inheritance
ArOverlayGeneralConfiguration
Inherited Members

Properties

AutomaticSelectionEnabled

If enabled, the scanner will always immediately scan a barcode in the viewfinder or the camera view. The overlay will mark the scanned barcodes and stays above them. Default is false

public bool AutomaticSelectionEnabled { get; set; }

Property Value

bool

BarcodeItemConfiguration

Configuration of the barcode info box displayed in the camera preview.

public BarcodeItemConfiguration BarcodeItemConfiguration { get; set; }

Property Value

BarcodeItemConfiguration

BarcodeItemInfoPosition

Where to display the barcode info box in the camera preview. Default is BELOW

public BarcodeItemInfoPosition BarcodeItemInfoPosition { get; set; }

Property Value

BarcodeItemInfoPosition

CounterBadge

Parameters of the counter badge appearance e.g. color of background its stroke and text/icon color.

public BadgeStyle CounterBadge { get; set; }

Property Value

BadgeStyle

Polygon

Configuration of the overlay polygon displayed on top of a barcode in the camera preview.

public ArOverlayPolygonConfiguration Polygon { get; set; }

Property Value

ArOverlayPolygonConfiguration

Visible

Control the visibility of the user guidance. Default is false

public bool Visible { get; set; }

Property Value

bool

Methods

FromJson(string)

public static ArOverlayGeneralConfiguration FromJson(string rawJson)

Parameters

rawJson string

Returns

ArOverlayGeneralConfiguration

FromNative(ArOverlayGeneralConfiguration)

public static ArOverlayGeneralConfiguration FromNative(ArOverlayGeneralConfiguration source)

Parameters

source ArOverlayGeneralConfiguration

Returns

ArOverlayGeneralConfiguration

ToNative()

public ArOverlayGeneralConfiguration ToNative()

Returns

ArOverlayGeneralConfiguration