ShutterButton

data class ShutterButton(var enabledInAutoSnappingMode: Boolean = true, var accessibilityDescription: String = "?accessibilityDescriptionCameraShutterButton", var outerColor: ScanbotColor = ScanbotColor("?sbColorOnPrimary", isArgb = false), var innerColor: ScanbotColor = ScanbotColor("?sbColorOnPrimary", isArgb = false)) : Parcelable

Configuration of the 'shutter' button.

Constructors

Link copied to clipboard
constructor(source: Map<String, Any?>)
constructor(json: JSONObject)
constructor(enabledInAutoSnappingMode: Boolean = true, accessibilityDescription: String = "?accessibilityDescriptionCameraShutterButton", outerColor: ScanbotColor = ScanbotColor("?sbColorOnPrimary", isArgb = false), innerColor: ScanbotColor = ScanbotColor("?sbColorOnPrimary", isArgb = false))

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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

Link copied to clipboard

Determines if the 'shutter' button can be tapped to manually snap a document when 'auto snapping mode' is active.

Link copied to clipboard

The inner color of the 'shutter' button.

Link copied to clipboard

The outer color of the 'shutter' button.

Functions

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