Table of Contents

Class OverlayTextConfiguration.StyleForBarcodeItem

Namespace
ScanbotSDK.MAUI.Barcode
Assembly
ScanbotSDK.Shared.dll
public class OverlayTextConfiguration.StyleForBarcodeItem : OverlayTextConfiguration
Inheritance
OverlayTextConfiguration.StyleForBarcodeItem
Inherited Members

Constructors

StyleForBarcodeItem(Func<BarcodeItem, Style>)

public StyleForBarcodeItem(Func<BarcodeItem, OverlayTextConfiguration.Style> onBarcodeItemStyle)

Parameters

onBarcodeItemStyle Func<BarcodeItem, OverlayTextConfiguration.Style>

StyleForBarcodeItem(Func<BarcodeItem, Style>, Func<BarcodeItem, string>)

public StyleForBarcodeItem(Func<BarcodeItem, OverlayTextConfiguration.Style> onBarcodeItemStyle, Func<BarcodeItem, string> onBarcodeItemText)

Parameters

onBarcodeItemStyle Func<BarcodeItem, OverlayTextConfiguration.Style>
onBarcodeItemText Func<BarcodeItem, string>

StyleForBarcodeItem(Func<BarcodeItem, string>)

public StyleForBarcodeItem(Func<BarcodeItem, string> onBarcodeItemText)

Parameters

onBarcodeItemText Func<BarcodeItem, string>

Fields

OnBarcodeItemStyle

Configure the style of the AR overlay text configuration for the detected BarcodeItem. The callback run on the UI thread. It is recommended to keep the callback lightweight to avoid blocking the UI thread.

public readonly Func<BarcodeItem, OverlayTextConfiguration.Style> OnBarcodeItemStyle

Field Value

Func<BarcodeItem, OverlayTextConfiguration.Style>

OnBarcodeItemText

Configure the text to be displayed on the AR overlay for the detected BarcodeItem. The callback run on the UI thread. It is recommended to keep the callback lightweight to avoid blocking the UI thread.

public readonly Func<BarcodeItem, string> OnBarcodeItemText

Field Value

Func<BarcodeItem, string>