IconButton

data class IconButton(var visible: Boolean = true, var color: ScanbotColor = ScanbotColor("#FFFFFF", isArgb = false), var accessibilityDescription: String = "") : Parcelable

Configuration of the icon appearance on a button.

Constructors

Link copied to clipboard
constructor(source: Map<String, Any?>)
constructor(json: JSONObject)
constructor(visible: Boolean = true, color: ScanbotColor = ScanbotColor("#FFFFFF", isArgb = false), accessibilityDescription: String = "")

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The text to be read when the button is selected through accessibility mode.

Link copied to clipboard

The icon color.

Link copied to clipboard

Determines whether the icon is visible on the button.

Functions

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