AuthenticationError
public final 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(int errorCode, CharSequence errorMsg) |
Public methods |
|
|---|---|
boolean |
|
final 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 |
final CharSequence |
the message associated with the |
int |
hashCode() |
Public constructors
Public methods
getErrorCode
public final int getErrorCode()
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
getErrorMsg
public final CharSequence getErrorMsg()
the message associated with the errorCode in the form that can be displayed on a UI.