AuthPromptErrorException
public final class AuthPromptErrorException extends Exception
| java.lang.Object | |||
| ↳ | kotlin.Throwable | ||
| ↳ | java.lang.Exception | ||
| ↳ | androidx.biometric.auth.AuthPromptErrorException |
Thrown when an unrecoverable error has been encountered and authentication has stopped.
Summary
Public constructors |
|---|
AuthPromptErrorException( |
Public methods |
|
|---|---|
final int |
An integer ID associated with the error. |
final @NonNull CharSequence |
A human-readable string that describes the error. |
Inherited methods |
|---|
Public constructors
AuthPromptErrorException
Added in 1.4.0-alpha02
public AuthPromptErrorException(
int errorCode,
@NonNull CharSequence errorMessage
)
| Parameters | |
|---|---|
int errorCode |
An integer ID associated with the error. |
@NonNull CharSequence errorMessage |
A human-readable string that describes the error. |
Public methods
getErrorCode
Added in 1.4.0-alpha02
public final int getErrorCode()
An integer ID associated with the error.
getErrorMessage
Added in 1.4.0-alpha02
public final @NonNull CharSequence getErrorMessage()
A human-readable string that describes the error.