hwsecurity / de.cotech.hw / SecurityKeyCallback / onSecurityKeyDisconnected /

onSecurityKeyDisconnected

open fun onSecurityKeyDisconnected(securityKey: T)

Called when a persistently connected Security Key was disconnected.

This callback is only called on Security Keys for which isPersistentlyConnected returns true. This typically applies to USB devices, but can be applied to NFC devices as well ifpersistent NFC connection has been enabled via setEnablePersistentNfcConnection.Those Security Keys are also listed under getConnectedPersistentSecurityKeys.

Note that this callback will only be sent to the same registered callback that received the onSecurityKeyDiscovered callback, and will not be postponed for latedelivery if the callback isn’t active.