AuthenticationResult.Error


class AuthenticationResult.Error : AuthenticationResult


A result when an error has been encountered and authentication has stopped.

Summary

Public constructors

Error(errorCode: Int, errString: CharSequence)

Public functions

open AuthenticationResult.Error

Returns a Error only if it's a Error, returns null otherwise.

Public properties

CharSequence

A human-readable string that describes the error.

Int

An integer ID associated with the error.

Inherited functions

From androidx.biometric.AuthenticationResult
open AuthenticationResult.CustomFallbackSelected?

Returns a CustomFallbackSelected only if it's a CustomFallbackSelected, returns null otherwise.

open Boolean

Whether this AuthenticationResult is a CustomFallbackSelected.

open Boolean

Whether this AuthenticationResult is an Error.

open Boolean

Whether this AuthenticationResult is a Success.

open AuthenticationResult.Success?

Returns a Success only if it's a Success, returns null otherwise.

Public constructors

Error

Added in 1.4.0-alpha06
Error(errorCode: Int, errString: CharSequence)

Public functions

error

open fun error(): AuthenticationResult.Error

Returns a Error only if it's a Error, returns null otherwise.

Public properties

errString

Added in 1.4.0-alpha06
val errStringCharSequence

A human-readable string that describes the error.

errorCode

Added in 1.4.0-alpha06
val errorCodeInt

An integer ID associated with the error.