Vibration

data class Vibration(var enabled: Boolean = false) : Parcelable

Configure the vibration.

Constructors

Link copied to clipboard
constructor(source: Map<String, Any?>)
constructor(json: JSONObject)
constructor(enabled: Boolean = false)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Determine whether vibration should be enabled or not when a barcode is detected.

Functions

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