BlinkIdUxSettings
data class BlinkIdUxSettings(val stepTimeoutDuration: Duration = 15000.milliseconds, val allowHapticFeedback: Boolean = true, val classFilter: ClassFilter? = null) : 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.
classFilter
Defines which specific document classes are allowed during scanning. Each document class is defined by the trio of Country, Region, and Type. Defaults to null, meaning all classes are allowed.
Constructors
Link copied to clipboard
constructor(stepTimeoutDurationMs: Int, allowHapticFeedback: Boolean = true, classFilter: ClassFilter? = null)
Constructor for easier Java implementation.
constructor(stepTimeoutDuration: Duration = 15000.milliseconds, allowHapticFeedback: Boolean = true, classFilter: ClassFilter? = null)