Android 12 Developer Preview is here! Try it out, and give us your feedback!

AuthPromptErrorException

class AuthPromptErrorException : Exception
androidx.biometric.auth.AuthPromptErrorException

Thrown when an unrecoverable error has been encountered and authentication has stopped.

Summary

Public constructors
<init>(errorCode: Int, errorMessage: CharSequence)

Thrown when an unrecoverable error has been encountered and authentication has stopped.

Properties
Int

An integer ID associated with the error.

CharSequence

A human-readable string that describes the error.

Public constructors

<init>

AuthPromptErrorException(
    errorCode: Int,
    errorMessage: CharSequence)

Thrown when an unrecoverable error has been encountered and authentication has stopped.

Parameters
errorCode: Int An integer ID associated with the error.
errorMessage: CharSequence A human-readable string that describes the error.

Properties

errorCode

val errorCode: Int

An integer ID associated with the error.

errorMessage

val errorMessage: CharSequence

A human-readable string that describes the error.