BadgeStyle

data class BadgeStyle(var visible: Boolean = true, var background: BackgroundStyle = BackgroundStyle( ), var foregroundColor: ScanbotColor = ScanbotColor("?sbColorOnSurface", isArgb = false))

Configuration of the round button.

Constructors

Link copied to clipboard
constructor(source: Map<String, Any?>)
constructor(json: JsonObject)
constructor(visible: Boolean = true, background: BackgroundStyle = BackgroundStyle( ), foregroundColor: ScanbotColor = ScanbotColor("?sbColorOnSurface", isArgb = false))

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The style of the button's background.

Link copied to clipboard

Color of the button foreground (icon, text). Default is "?sbColorOnSurface"

Link copied to clipboard

Control the visibility of the badge. Default is true

Functions

Link copied to clipboard
fun toJson(): JsonObject