TextWithBadgeButtonMode

data class TextWithBadgeButtonMode(var accessibilityDescription: String = "?accessibilityDescriptionCameraPreviewButton", var text: StyledText = StyledText( text = "?cameraBadgedPreviewButtonTitle", color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ), var pageCounter: BadgeStyle = BadgeStyle( visible = true, background = BackgroundStyle( strokeColor = ScanbotColor("?sbColorSurface", isArgb = false), fillColor = ScanbotColor("?sbColorSurface", isArgb = false) ), foregroundColor = ScanbotColor("?sbColorPrimary", isArgb = false) )) : PreviewButton, Parcelable

Configuration of the 'preview' button in 'text with badge button mode'.

Constructors

Link copied to clipboard
constructor(source: Map<String, Any?>)
constructor(json: JSONObject)
constructor(accessibilityDescription: String = "?accessibilityDescriptionCameraPreviewButton", text: StyledText = StyledText( text = "?cameraBadgedPreviewButtonTitle", color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ), pageCounter: BadgeStyle = BadgeStyle( visible = true, background = BackgroundStyle( strokeColor = ScanbotColor("?sbColorSurface", isArgb = false), fillColor = ScanbotColor("?sbColorSurface", isArgb = false) ), foregroundColor = ScanbotColor("?sbColorPrimary", isArgb = false) ))

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val _type: String
Link copied to clipboard

The text to be read when the 'preview' button is selected via the accessibility mode.

Link copied to clipboard

Configuration of the badge icon.

Link copied to clipboard

Configuration of the text style for the 'preview' button.

Functions

Link copied to clipboard
open override fun clone(): TextWithBadgeButtonMode
Link copied to clipboard
open override fun toJson(config: ToJsonConfiguration): JSONObject