FindAndPickBadgeConfiguration

data class FindAndPickBadgeConfiguration(var partiallyScanned: BadgeStyle = BadgeStyle( visible = true, background = BackgroundStyle( strokeColor = ScanbotColor("#FFFFFF30", isArgb = false), fillColor = ScanbotColor("?sbColorWarning", isArgb = false), strokeWidth = 0.0 ), foregroundColor = ScanbotColor("?sbColorOnSurface", isArgb = false) ), var rejected: BadgeStyle = BadgeStyle( visible = true, background = BackgroundStyle( strokeColor = ScanbotColor("#FFFFFF30", isArgb = false), fillColor = ScanbotColor("?sbColorNegative", isArgb = false), strokeWidth = 0.0 ), foregroundColor = ScanbotColor("?sbColorOnSurface", isArgb = false) ), var completed: BadgeStyle = BadgeStyle( visible = true, background = BackgroundStyle( strokeColor = ScanbotColor("#FFFFFF30", isArgb = false), fillColor = ScanbotColor("?sbColorPositive", isArgb = false), strokeWidth = 0.0 ), foregroundColor = ScanbotColor("?sbColorOnSurface", isArgb = false) ))

Configuration of the round badge on find and pick ar layer.

Constructors

Link copied to clipboard
constructor(source: Map<String, Any?>)
constructor(json: JsonObject)
constructor(partiallyScanned: BadgeStyle = BadgeStyle( visible = true, background = BackgroundStyle( strokeColor = ScanbotColor("#FFFFFF30", isArgb = false), fillColor = ScanbotColor("?sbColorWarning", isArgb = false), strokeWidth = 0.0 ), foregroundColor = ScanbotColor("?sbColorOnSurface", isArgb = false) ), rejected: BadgeStyle = BadgeStyle( visible = true, background = BackgroundStyle( strokeColor = ScanbotColor("#FFFFFF30", isArgb = false), fillColor = ScanbotColor("?sbColorNegative", isArgb = false), strokeWidth = 0.0 ), foregroundColor = ScanbotColor("?sbColorOnSurface", isArgb = false) ), completed: BadgeStyle = BadgeStyle( visible = true, background = BackgroundStyle( strokeColor = ScanbotColor("#FFFFFF30", isArgb = false), fillColor = ScanbotColor("?sbColorPositive", isArgb = false), strokeWidth = 0.0 ), foregroundColor = ScanbotColor("?sbColorOnSurface", isArgb = false) ))

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Appearance of the badge when a barcode is completed.

Link copied to clipboard

Appearance of the badge when a barcode is partially scanned.

Link copied to clipboard

Appearance of the badge when a barcode is rejected.

Functions

Link copied to clipboard
fun toJson(): JsonObject