AcknowledgementScreenConfiguration

data class AcknowledgementScreenConfiguration(var topBarTitle: StyledText = StyledText( visible = false, text = "?acknowledgementTitle", color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ), var acknowledgementMode: AcknowledgementMode = AcknowledgementMode.ALWAYS, var backgroundColor: ScanbotColor = ScanbotColor("?sbColorOutline", isArgb = false), var bottomBar: AcknowledgementBottomBar = AcknowledgementBottomBar( ), var documentNotFoundWarning: AcknowledgementDocumentQualityWarning = AcknowledgementDocumentQualityWarning( visible = true, title = StyledText( text = "?acknowledgementWarningDocumentNotFound" ), background = BackgroundStyle( strokeColor = ScanbotColor("?sbColorNegative", isArgb = false), fillColor = ScanbotColor("?sbColorNegative", isArgb = false), strokeWidth = 0.0 ), icon = IconStyle( color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ) ), var unacceptableQualityWarning: AcknowledgementDocumentQualityWarning = AcknowledgementDocumentQualityWarning( visible = true, title = StyledText( text = "?acknowledgementWarningUnacceptableQuality" ), background = BackgroundStyle( strokeColor = ScanbotColor("?sbColorNegative", isArgb = false), fillColor = ScanbotColor("?sbColorNegative", isArgb = false), strokeWidth = 0.0 ), icon = IconStyle( color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ) ), var uncertainQualityWarning: AcknowledgementDocumentQualityWarning = AcknowledgementDocumentQualityWarning( visible = true, title = StyledText( text = "?acknowledgementWarningUncertainQuality" ), background = BackgroundStyle( strokeColor = ScanbotColor("?sbColorNegative", isArgb = false), fillColor = ScanbotColor("?sbColorNegative", isArgb = false), strokeWidth = 0.0 ), icon = IconStyle( color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ) )) : Parcelable

Configuration of the acknowledgement screen.

Constructors

Link copied to clipboard
constructor(source: Map<String, Any?>)
constructor(json: JSONObject)
constructor(topBarTitle: StyledText = StyledText( visible = false, text = "?acknowledgementTitle", color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ), acknowledgementMode: AcknowledgementMode = AcknowledgementMode.ALWAYS, backgroundColor: ScanbotColor = ScanbotColor("?sbColorOutline", isArgb = false), bottomBar: AcknowledgementBottomBar = AcknowledgementBottomBar( ), documentNotFoundWarning: AcknowledgementDocumentQualityWarning = AcknowledgementDocumentQualityWarning( visible = true, title = StyledText( text = "?acknowledgementWarningDocumentNotFound" ), background = BackgroundStyle( strokeColor = ScanbotColor("?sbColorNegative", isArgb = false), fillColor = ScanbotColor("?sbColorNegative", isArgb = false), strokeWidth = 0.0 ), icon = IconStyle( color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ) ), unacceptableQualityWarning: AcknowledgementDocumentQualityWarning = AcknowledgementDocumentQualityWarning( visible = true, title = StyledText( text = "?acknowledgementWarningUnacceptableQuality" ), background = BackgroundStyle( strokeColor = ScanbotColor("?sbColorNegative", isArgb = false), fillColor = ScanbotColor("?sbColorNegative", isArgb = false), strokeWidth = 0.0 ), icon = IconStyle( color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ) ), uncertainQualityWarning: AcknowledgementDocumentQualityWarning = AcknowledgementDocumentQualityWarning( visible = true, title = StyledText( text = "?acknowledgementWarningUncertainQuality" ), background = BackgroundStyle( strokeColor = ScanbotColor("?sbColorNegative", isArgb = false), fillColor = ScanbotColor("?sbColorNegative", isArgb = false), strokeWidth = 0.0 ), icon = IconStyle( color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ) ))

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Determines, after each page is snapped, whether the acknowledgment screen should be displayed or not.

Link copied to clipboard

The background color of the acknowledgement screen.

Link copied to clipboard

Configuration of the bottom bar for the acknowledgement screen.

Link copied to clipboard

Configuration for warning display when document is not found.

Link copied to clipboard

Configuration of the title, located in the top bar.

Link copied to clipboard

Configuration for warning display when document quality is unacceptable.

Link copied to clipboard

Configuration for warning display when document quality is uncertain.

Functions

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