pinCollector
Sets a custom PIN collection strategy.
Allows applications to provide their own PIN collection implementation instead of using the default UI collector. This is useful for:
Custom UI designs that match application themes
Integration with existing authentication systems
Accessibility-specific implementations
Testing with predefined PIN values
Example:
pinCollector { prompt ->
showCustomPinDialog(
title = prompt.title,
message = prompt.description
)
}Content copied to clipboard
Parameters
block
Suspend function that collects PIN from user