TextButtonMode

data class TextButtonMode(var accessibilityDescription: String = "?accessibilityDescriptionCameraPreviewButton", var style: StyledText = StyledText( text = "?cameraPreviewButtonTitle", color = ScanbotColor("?sbColorOnPrimary", isArgb = false) )) : PreviewButton, Parcelable

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

Constructors

Link copied to clipboard
constructor(source: Map<String, Any?>)
constructor(json: JSONObject)
constructor(accessibilityDescription: String = "?accessibilityDescriptionCameraPreviewButton", style: StyledText = StyledText( text = "?cameraPreviewButtonTitle", color = ScanbotColor("?sbColorOnPrimary", 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 text style for the 'preview' button.

Functions

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