var promptInfo: BiometricPrompt.PromptInfo
override fun onCreate(savedInstanceState: Bundle?) {
...
executor = ContextCompat.getMainExecutor(this)biometricPrompt = BiometricPrompt(this, executor,
object : BiometricPrompt.AuthenticationCallback() {
override fun onAuthenticationError(errorCode: Int,errString: CharSequence)
override fun onAuthenticationSucceeded(result: BiometricPrompt.AuthenticationResult)
override fun onAuthenticationFailed()
}
)