AcknowledgementProceedAnywayButton

data class AcknowledgementProceedAnywayButton(var visible: Boolean = true, var documentNotFound: BarButtonConfiguration = BarButtonConfiguration( visible = true, title = StyledText( text = "?proceedAnywayButtonDocumentNotFound" ), accessibilityDescription = "?accessibilityDescriptionProceedAnywayButtonDocumentNotFound", background = BackgroundStyle( strokeColor = ScanbotColor("#00000000", isArgb = false), fillColor = ScanbotColor("#00000000", isArgb = false), strokeWidth = 0.0 ), icon = IconStyle( color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ) ), var unacceptableQuality: BarButtonConfiguration = BarButtonConfiguration( visible = false, title = StyledText( text = "?proceedAnywayButtonUnacceptableQuality", color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ), accessibilityDescription = "?accessibilityDescriptionProceedAnywayButtonUnacceptableQuality", background = BackgroundStyle( strokeColor = ScanbotColor("#00000000", isArgb = false), fillColor = ScanbotColor("#00000000", isArgb = false), strokeWidth = 0.0 ), icon = IconStyle( color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ) ), var uncertainQuality: BarButtonConfiguration = BarButtonConfiguration( visible = true, title = StyledText( text = "?proceedAnywayButtonUncertainQuality", color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ), accessibilityDescription = "?accessibilityDescriptionProceedAnywayButtonUncertainQuality", background = BackgroundStyle( strokeColor = ScanbotColor("#00000000", isArgb = false), fillColor = ScanbotColor("#00000000", isArgb = false), strokeWidth = 0.0 ), icon = IconStyle( color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ) )) : Parcelable

Configuration for proceed anyway button in different quality scenarios.

Constructors

Link copied to clipboard
constructor(source: Map<String, Any?>)
constructor(json: JSONObject)
constructor(visible: Boolean = true, documentNotFound: BarButtonConfiguration = BarButtonConfiguration( visible = true, title = StyledText( text = "?proceedAnywayButtonDocumentNotFound" ), accessibilityDescription = "?accessibilityDescriptionProceedAnywayButtonDocumentNotFound", background = BackgroundStyle( strokeColor = ScanbotColor("#00000000", isArgb = false), fillColor = ScanbotColor("#00000000", isArgb = false), strokeWidth = 0.0 ), icon = IconStyle( color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ) ), unacceptableQuality: BarButtonConfiguration = BarButtonConfiguration( visible = false, title = StyledText( text = "?proceedAnywayButtonUnacceptableQuality", color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ), accessibilityDescription = "?accessibilityDescriptionProceedAnywayButtonUnacceptableQuality", background = BackgroundStyle( strokeColor = ScanbotColor("#00000000", isArgb = false), fillColor = ScanbotColor("#00000000", isArgb = false), strokeWidth = 0.0 ), icon = IconStyle( color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ) ), uncertainQuality: BarButtonConfiguration = BarButtonConfiguration( visible = true, title = StyledText( text = "?proceedAnywayButtonUncertainQuality", color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ), accessibilityDescription = "?accessibilityDescriptionProceedAnywayButtonUncertainQuality", 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

Text shown when document is not found.

Link copied to clipboard

Text shown when document quality is unacceptable.

Link copied to clipboard

Text shown when document quality is uncertain.

Link copied to clipboard

Whether the proceed anyway button is visible.

Functions

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