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
onBarcodeItemStyleFunc<BarcodeItem, OverlayTextConfiguration.Style>
StyleForBarcodeItem(Func<BarcodeItem, Style>, Func<BarcodeItem, string>)
public StyleForBarcodeItem(Func<BarcodeItem, OverlayTextConfiguration.Style> onBarcodeItemStyle, Func<BarcodeItem, string> onBarcodeItemText)
Parameters
onBarcodeItemStyleFunc<BarcodeItem, OverlayTextConfiguration.Style>onBarcodeItemTextFunc<BarcodeItem, string>
StyleForBarcodeItem(Func<BarcodeItem, string>)
public StyleForBarcodeItem(Func<BarcodeItem, string> onBarcodeItemText)
Parameters
onBarcodeItemTextFunc<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
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