BarcodeInfoMapping
data class BarcodeInfoMapping(var barcodeItemMapper: BarcodeItemMapper? = null, var sheetColor: ScanbotColor = ScanbotColor("?sbColorSurface", isArgb = false), var dividerColor: ScanbotColor = ScanbotColor("?sbColorOutline", isArgb = false), var modalOverlayColor: ScanbotColor = ScanbotColor("?sbColorModalOverlay", isArgb = false), var loadingMessage: StyledText = StyledText( text = "Loading message for barcode info mapping.", color = ScanbotColor("?sbColorPrimary", isArgb = false) ), var errorState: BarcodeItemErrorState = BarcodeItemErrorState( ))
Configuration of the barcode data mapping.
Constructors
Link copied to clipboard
constructor(json: JsonObject)
constructor(barcodeItemMapper: BarcodeItemMapper? = null, sheetColor: ScanbotColor = ScanbotColor("?sbColorSurface", isArgb = false), dividerColor: ScanbotColor = ScanbotColor("?sbColorOutline", isArgb = false), modalOverlayColor: ScanbotColor = ScanbotColor("?sbColorModalOverlay", isArgb = false), loadingMessage: StyledText = StyledText( text = "Loading message for barcode info mapping.", color = ScanbotColor("?sbColorPrimary", isArgb = false) ), errorState: BarcodeItemErrorState = BarcodeItemErrorState( ))
Properties
Link copied to clipboard
Callback to map the barcode data to the data of the corresponding product.
Link copied to clipboard
Color of the divider and separator lines in the barcode info dialog. Default is "?sbColorOutline"
Link copied to clipboard
Configuration of the error state displayed when processing a barcode fails.
Link copied to clipboard
Text being displayed while a barcode is being mapped.
Link copied to clipboard
Background color of the overlay surrounding the barcode mapping error dialog. Default is "?sbColorModalOverlay"
Link copied to clipboard
Background color of the barcode info dialog. Default is "?sbColorSurface"