setAllowUsingExhaustedKeys

abstract fun setAllowUsingExhaustedKeys(allowUsingExhaustedKeys: Boolean)

Deprecated

Use PresentationSession instead.

Sets whether to allow using an authentication key which use count has been exceeded if no other key is available. This must be called prior to calling getEntries or using a BiometricPrompt.CryptoObject which references this object.

By default this is set to true.

Parameters

allowUsingExhaustedKeys

whether to allow using an authentication key which use count has been exceeded if no other key is available.