SelectionOverlayConfiguration

data class SelectionOverlayConfiguration(var overlayEnabled: Boolean, var automaticSelectionEnabled: Boolean = false, var textFormat: BarcodeOverlayTextFormat = BarcodeOverlayTextFormat.CODE, var polygonColor: Int = Color.WHITE, var textColor: Int = Color.BLACK, var textContainerColor: Int = Color.WHITE, var highlightedPolygonColor: Int? = null, var highlightedTextColor: Int? = null, var highlightedTextContainerColor: Int? = null) : Serializable

Barcode Selection Overlay configuration

Constructors

Link copied to clipboard
constructor(overlayEnabled: Boolean, automaticSelectionEnabled: Boolean = false, textFormat: BarcodeOverlayTextFormat = BarcodeOverlayTextFormat.CODE, polygonColor: Int = Color.WHITE, textColor: Int = Color.BLACK, textContainerColor: Int = Color.WHITE, highlightedPolygonColor: Int? = null, highlightedTextColor: Int? = null, highlightedTextContainerColor: Int? = null)

Properties

Link copied to clipboard

Whether the barcode is selected automatically when being scanned or not. By default - false.

Link copied to clipboard

The color of the polygon in the selection overlay, when highlighted. By default - null.

Link copied to clipboard

The color of the text in the selection overlay, when highlighted. By default - null.

Link copied to clipboard

The color of the texts background in the selection overlay, when highlighted. By default - null.

Link copied to clipboard

Whether the barcode selection overlay is enabled or not.

Link copied to clipboard

The color of the polygon in the selection overlay. By default - Color.WHITE.

Link copied to clipboard

The color of the text in the selection overlay. By default - Color.BLACK.

Link copied to clipboard

The color of the texts background in the selection overlay. By default - Color.WHITE.

Link copied to clipboard

Define the way of how to show barcode data with selection overlay. By default - BarcodeOverlayTextFormat.CODE.

Functions

Link copied to clipboard

Converts SDK object to JSON-compatible object.