AcknowledgementScreenConfiguration

data class AcknowledgementScreenConfiguration(var topBarTitle: StyledText = StyledText( visible = false, text = "?acknowledgementTitle", color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ), var minimumQuality: DocumentQuality = DocumentQuality.POOR, var acknowledgementMode: AcknowledgementMode = AcknowledgementMode.ALWAYS, var badImageHint: IconUserGuidanceConfiguration = IconUserGuidanceConfiguration( visible = true, icon = IconStyle( color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ), title = StyledText( text = "?acknowledgementScreenBadDocumentHint", color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ), background = BackgroundStyle( strokeColor = ScanbotColor("?sbColorNegative", isArgb = false), fillColor = ScanbotColor("?sbColorNegative", isArgb = false), strokeWidth = 0.0 ) ), var backgroundColor: ScanbotColor = ScanbotColor("?sbColorOutline", isArgb = false), var bottomBar: AcknowledgementBottomBar = AcknowledgementBottomBar( )) : 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) ), minimumQuality: DocumentQuality = DocumentQuality.POOR, acknowledgementMode: AcknowledgementMode = AcknowledgementMode.ALWAYS, badImageHint: IconUserGuidanceConfiguration = IconUserGuidanceConfiguration( visible = true, icon = IconStyle( color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ), title = StyledText( text = "?acknowledgementScreenBadDocumentHint", color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ), background = BackgroundStyle( strokeColor = ScanbotColor("?sbColorNegative", isArgb = false), fillColor = ScanbotColor("?sbColorNegative", isArgb = false), strokeWidth = 0.0 ) ), backgroundColor: ScanbotColor = ScanbotColor("?sbColorOutline", isArgb = false), bottomBar: AcknowledgementBottomBar = AcknowledgementBottomBar( ))

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 hint that explains that the quality of the scanned page is unacceptable.

Link copied to clipboard

Configuration of the bottom bar for the acknowledgement screen.

Link copied to clipboard

The minimum quality of a scanned page to be deemed acceptable. Used in conjunction with the acknowledgement mode.

Link copied to clipboard

Configuration of the title, located in the top bar.

Functions

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