ProgressOverlay

data class ProgressOverlay(var title: StyledText = StyledText( text = "Please wait...", color = ScanbotColor("?sbColorOnSurface", isArgb = false) ), var progressIcon: IconStyle = IconStyle( color = ScanbotColor("?sbColorOnSurface", isArgb = false) ), var background: BackgroundStyle = BackgroundStyle( strokeColor = ScanbotColor("?sbColorSurface", isArgb = false), fillColor = ScanbotColor("?sbColorSurface", isArgb = false), strokeWidth = 0.0 ), var modalOverlayColor: ScanbotColor = ScanbotColor("?sbColorModalOverlay", isArgb = false))

Configuration of the top screen bar's appearance.

Constructors

Link copied to clipboard
constructor(source: Map<String, Any?>)
constructor(json: JsonObject)
constructor(title: StyledText = StyledText( text = "Please wait...", color = ScanbotColor("?sbColorOnSurface", isArgb = false) ), progressIcon: IconStyle = IconStyle( color = ScanbotColor("?sbColorOnSurface", isArgb = false) ), background: BackgroundStyle = BackgroundStyle( strokeColor = ScanbotColor("?sbColorSurface", isArgb = false), fillColor = ScanbotColor("?sbColorSurface", isArgb = false), strokeWidth = 0.0 ), modalOverlayColor: ScanbotColor = ScanbotColor("?sbColorModalOverlay", isArgb = false))

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Background style of the progress bar sheet.

Link copied to clipboard

Color of the modal overlay. Default is "?sbColorModalOverlay"

Link copied to clipboard

Tint color of the progress icon.

Link copied to clipboard

Appearance of the top bar's title.

Functions

Link copied to clipboard
fun toJson(): JsonObject