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 acceptWhenOkButton: 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 acceptWhenNotOkButton: 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) ) )) : 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) ) ), acceptWhenOkButton: 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) ) ), acceptWhenNotOkButton: 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) ) ))

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 unacceptable.

Link copied to clipboard

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

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