BlinkCardUxSettings

data class BlinkCardUxSettings(val stepTimeoutDuration: Duration = 15000.milliseconds, val allowHapticFeedback: Boolean = true) : Parcelable

Configuration settings for the scanning UX.

Parameters

stepTimeoutDuration

Duration of the scanning session before a timeout is triggered. Resets every time the scanning is paused (dialogs, side change). Defaults to 15 seconds.

allowHapticFeedback

Whether haptic feedback is allowed during the scanning process. Defaults to true.

Constructors

Link copied to clipboard
constructor(stepTimeoutDurationMs: Int, allowHapticFeedback: Boolean = true)

Constructor for easier Java implementation.

constructor(stepTimeoutDuration: Duration = 15000.milliseconds, allowHapticFeedback: Boolean = true)

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)