ScanCompletionOverlay

data class ScanCompletionOverlay(var message: StyledText = StyledText( text = "?completionOverlaySuccessMessage", color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ), var iconColor: ScanbotColor = ScanbotColor("?sbColorOnPrimary", isArgb = false), var overlayBackgroundColor: ScanbotColor = ScanbotColor("?sbColorSurfaceHigh", isArgb = false), var timeout: Int = 1000) : Parcelable

Configuration of the overlay to be shown after the successful scan.

Constructors

Link copied to clipboard
constructor(source: Map<String, Any?>)
constructor(json: JSONObject)
constructor(message: StyledText = StyledText( text = "?completionOverlaySuccessMessage", color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ), iconColor: ScanbotColor = ScanbotColor("?sbColorOnPrimary", isArgb = false), overlayBackgroundColor: ScanbotColor = ScanbotColor("?sbColorSurfaceHigh", isArgb = false), timeout: Int = 1000)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Color of the icon.

Link copied to clipboard

A caption below the icon.

Link copied to clipboard

Background color of the overlay.

Link copied to clipboard

Timeout in milliseconds after which the overlay is automatically dismissed.

Functions

Link copied to clipboard
Link copied to clipboard
fun toJson(config: ToJsonConfiguration = ToJsonConfiguration.default()): JSONObject