AcknowledgementBottomBar

data class AcknowledgementBottomBar(var retakeButton: BarButtonConfiguration = BarButtonConfiguration( title = StyledText( text = "?acknowledgementRetakeButtonTitle", color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ), accessibilityDescription = "?accessibilityDescriptionAcknowledgementRetakeButton", background = BackgroundStyle( strokeColor = ScanbotColor("#00000000", isArgb = false), fillColor = ScanbotColor("#00000000", isArgb = false), strokeWidth = 0.0 ), icon = IconStyle( color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ) ), var acceptWhenAcceptableButton: BarButtonConfiguration = BarButtonConfiguration( title = StyledText( text = "?acknowledgementAcceptButtonTitle", color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ), accessibilityDescription = "?accessibilityDescriptionAcknowledgementAcceptButton", background = BackgroundStyle( strokeColor = ScanbotColor("#00000000", isArgb = false), fillColor = ScanbotColor("#00000000", isArgb = false), strokeWidth = 0.0 ), icon = IconStyle( color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ) ), var proceedAnywayButton: AcknowledgementProceedAnywayButton = AcknowledgementProceedAnywayButton( )) : Parcelable

Configuration of the bottom bar for the acknowledgement screen.

Constructors

Link copied to clipboard
constructor(source: Map<String, Any?>)
constructor(json: JSONObject)
constructor(retakeButton: BarButtonConfiguration = BarButtonConfiguration( title = StyledText( text = "?acknowledgementRetakeButtonTitle", color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ), accessibilityDescription = "?accessibilityDescriptionAcknowledgementRetakeButton", background = BackgroundStyle( strokeColor = ScanbotColor("#00000000", isArgb = false), fillColor = ScanbotColor("#00000000", isArgb = false), strokeWidth = 0.0 ), icon = IconStyle( color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ) ), acceptWhenAcceptableButton: BarButtonConfiguration = BarButtonConfiguration( title = StyledText( text = "?acknowledgementAcceptButtonTitle", color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ), accessibilityDescription = "?accessibilityDescriptionAcknowledgementAcceptButton", background = BackgroundStyle( strokeColor = ScanbotColor("#00000000", isArgb = false), fillColor = ScanbotColor("#00000000", isArgb = false), strokeWidth = 0.0 ), icon = IconStyle( color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ) ), proceedAnywayButton: AcknowledgementProceedAnywayButton = AcknowledgementProceedAnywayButton( ))

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Configuration of the 'accept' button, when the quality of the scanned page is acceptable.

Link copied to clipboard

Configuration of proceed anyway button for different quality scenarios.

Link copied to clipboard

Configuration of the 'retake' button.

Functions

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