hwsecurity / de.cotech.hw / SecurityKeyManager / registerCallback /
registerCallback
open fun < T : SecurityKey?> registerCallback(mode: SecurityKeyConnectionMode< T>, lifecycleOwner: LifecycleOwner, callback: SecurityKeyCallback< T>)
Registers a callback for when a security key is discovered.
Throws
Name | Summary |
---|---|
java.lang.IllegalArgumentException | if LifecycleOwner is an excluded class, see addExcludedActivityClass. |