BlinkIdUxSettings

constructor(stepTimeoutDurationMs: Int, allowHapticFeedback: Boolean = true, classFilter: ClassFilter? = null)

Constructor for easier Java implementation.

This secondary constructor allows Java developers to create a BlinkIdUxSettings instance by providing the stepTimeoutDuration as an Int in milliseconds.

Parameters

stepTimeoutDurationMs

Duration of the scanning session before a timeout is triggered in milliseconds. Resets every time the scanning is paused (dialogs, side change). If set to 0, the scanning will not timeout.

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.


constructor(stepTimeoutDuration: Duration = 15000.milliseconds, allowHapticFeedback: Boolean = true, classFilter: ClassFilter? = null)

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.