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, throws 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 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, throws otherwise.

Public constructors

Error

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

Public functions

error

open fun error(): AuthenticationResult.Error

Returns a Error only if it's a Error, throws otherwise.

Public properties

errString

Added in 1.4.0-alpha03
val errStringCharSequence

A human-readable string that describes the error.

errorCode

Added in 1.4.0-alpha03
val errorCodeInt

An integer ID associated with the error.