ManualCountEditDialog

data class ManualCountEditDialog(var sheetColor: ScanbotColor = ScanbotColor("?sbColorSurface", isArgb = false), var dividerColor: ScanbotColor = ScanbotColor("?sbColorOutline", isArgb = false), var modalOverlayColor: ScanbotColor = ScanbotColor("?sbColorModalOverlay", isArgb = false), var title: StyledText = StyledText( text = "Update count", color = ScanbotColor("?sbColorOnSurface", isArgb = false) ), var info: StyledText = StyledText( text = "Adjust the number of items you scanned.", color = ScanbotColor("?sbColorOnSurfaceVariant", isArgb = false) ), var updateButton: ButtonConfiguration = ButtonConfiguration( visible = true, text = "Update", background = BackgroundStyle( strokeColor = ScanbotColor("?sbColorPrimary", isArgb = false), fillColor = ScanbotColor("?sbColorPrimary", isArgb = false), strokeWidth = 1.0 ), foreground = ForegroundStyle( iconVisible = false, color = ScanbotColor("?sbColorOnPrimary", isArgb = false), useShadow = false ) ), var cancelButton: ButtonConfiguration = ButtonConfiguration( visible = true, text = "Cancel", background = BackgroundStyle( strokeColor = ScanbotColor("#00000000", isArgb = false), fillColor = ScanbotColor("#00000000", isArgb = false), strokeWidth = 1.0 ), foreground = ForegroundStyle( iconVisible = false, color = ScanbotColor("?sbColorPrimary", isArgb = false), useShadow = false ) ), var clearTextButton: IconStyle = IconStyle( visible = true, color = ScanbotColor("?sbColorOnSurfaceVariant", isArgb = false) ))

Configuration of the dialog to manually edit the barcode count.

Constructors

Link copied to clipboard
constructor(source: Map<String, Any?>)
constructor(json: JsonObject)
constructor(sheetColor: ScanbotColor = ScanbotColor("?sbColorSurface", isArgb = false), dividerColor: ScanbotColor = ScanbotColor("?sbColorOutline", isArgb = false), modalOverlayColor: ScanbotColor = ScanbotColor("?sbColorModalOverlay", isArgb = false), title: StyledText = StyledText( text = "Update count", color = ScanbotColor("?sbColorOnSurface", isArgb = false) ), info: StyledText = StyledText( text = "Adjust the number of items you scanned.", color = ScanbotColor("?sbColorOnSurfaceVariant", isArgb = false) ), updateButton: ButtonConfiguration = ButtonConfiguration( visible = true, text = "Update", background = BackgroundStyle( strokeColor = ScanbotColor("?sbColorPrimary", isArgb = false), fillColor = ScanbotColor("?sbColorPrimary", isArgb = false), strokeWidth = 1.0 ), foreground = ForegroundStyle( iconVisible = false, color = ScanbotColor("?sbColorOnPrimary", isArgb = false), useShadow = false ) ), cancelButton: ButtonConfiguration = ButtonConfiguration( visible = true, text = "Cancel", background = BackgroundStyle( strokeColor = ScanbotColor("#00000000", isArgb = false), fillColor = ScanbotColor("#00000000", isArgb = false), strokeWidth = 1.0 ), foreground = ForegroundStyle( iconVisible = false, color = ScanbotColor("?sbColorPrimary", isArgb = false), useShadow = false ) ), clearTextButton: IconStyle = IconStyle( visible = true, color = ScanbotColor("?sbColorOnSurfaceVariant", isArgb = false) ))

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Configuration of the edit dialog's cancel button. Hiding both the update and cancel buttons simultaneously is an undefined behavior.

Link copied to clipboard

Configuration of the edit dialog's button to clear the entered count number.

Link copied to clipboard

Color of the divider and separator lines in the edit dialog. Default is "?sbColorOutline"

Link copied to clipboard

Configuration of the edit dialog's info text.

Link copied to clipboard

Background color of the overlay surrounding the edit dialog. Default is "?sbColorModalOverlay"

Link copied to clipboard

Color of the edit dialog's background. Default is "?sbColorSurface"

Link copied to clipboard

Configuration of the edit dialog's title.

Link copied to clipboard

Configuration of the edit dialog's confirm button. Hiding both the update and cancel buttons simultaneously is an undefined behavior.

Functions

Link copied to clipboard
fun toJson(): JsonObject