BlinkCardUxSettings

constructor(stepTimeoutDurationMs: Int, allowHapticFeedback: Boolean = true)

Constructor for easier Java implementation.

This secondary constructor allows Java developers to create a BlinkCardUxSettings 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.


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

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.