ArOverlayTextConfiguration

Types

Link copied to clipboard
@Immutable
data class Style(val textColor: ScanbotColor = ScanbotColor(OverlayColorsDefaults.TEXT), val textContainerColor: ScanbotColor = ScanbotColor(OverlayColorsDefaults.TEXT_CONTAINER), val highlightedTextColor: ScanbotColor = ScanbotColor(OverlayColorsDefaults.HIGHLIGHTED_TEXT), val highlightedTextContainerColor: ScanbotColor = ScanbotColor(OverlayColorsDefaults.HIGHLIGHTED_TEXT_CONTAINER), val textFormat: BarcodeOverlayTextFormat = BarcodeOverlayTextFormat.CODE_AND_TYPE) : ArOverlayTextConfiguration

The style configuration for the text in the AR overlay.

Link copied to clipboard
@Immutable
data class StyleForBarcodeItem(val onBarcodeItemStyle: (barcodeItem: BarcodeItem) -> ArOverlayTextConfiguration.Style? = null, val onBarcodeItemText: (barcodeItem: BarcodeItem, text: String) -> String? = null) : ArOverlayTextConfiguration

The style configuration for the text in the AR overlay based on the detected barcode item.