hwsecurity / de.cotech.hw / SecurityKeyManagerConfig / Builder / setDisableWhileInactive /
open fun setDisableWhileInactive(isDisableWhileInactive: Boolean): SecurityKeyManagerConfig.Builder
This setting disables managing NFC and USB connections while no callbacks are registered.
Enabling this setting will disable background NFC and USB connection management. Instead,connections will only be managed while a callback is registerd via registerCallback.
This setting improves compatibility with other libraries that perform NFC or USB relatedtasks in the same app. At the same time it reduces reliability for longer connections,and precludes for use cases that work with persistent device connections.
This setting cannot be enabled if setEnablePersistentNfcConnection is set to true.