AuthenticationError
class AuthenticationError
Error returned from the Biometric Prompt flow that is executed by androidx.credentials.CredentialManager after the user makes a selection on the Credential Manager account selector.
| See also | |
|---|---|
AuthenticationErrorTypes |
Summary
Public constructors |
|---|
AuthenticationError(errorCode: Int, errorMsg: CharSequence?) |
Public properties |
|
|---|---|
Int |
the error code denoting what kind of error was encountered while the biometric prompt flow failed, must be one of the error codes defined in |
CharSequence? |
the message associated with the |
Public constructors
AuthenticationError
AuthenticationError(errorCode: Int, errorMsg: CharSequence? = null)
Public functions
Public properties
errorCode
val errorCode: Int
the error code denoting what kind of error was encountered while the biometric prompt flow failed, must be one of the error codes defined in androidx.biometric.BiometricPrompt such as androidx.biometric.BiometricPrompt.ERROR_HW_UNAVAILABLE or androidx.biometric.BiometricPrompt.ERROR_TIMEOUT
errorMsg
val errorMsg: CharSequence?
the message associated with the errorCode in the form that can be displayed on a UI.