Last active
September 10, 2020 04:41
-
-
Save husaynhakeem/ff95bffd19259d79af5c390776971ffb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| val authenticationCallback = object : BiometricPrompt.AuthenticationCallback() { | |
| override fun onAuthenticationSucceeded(result: BiometricPrompt.AuthenticationResult) { | |
| // Authentication succeeded | |
| } | |
| override fun onAuthenticationError(errorCode: Int, errString: CharSequence) { | |
| // Authentication errored out. Verify error code and message | |
| } | |
| override fun onAuthenticationFailed() { | |
| // Authentication failed. User may not have been recognized | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment