Language

EmbeddedBiometricPrompt.AuthenticationCallback.OnAuthenticationError Method

Definition

Overloads

Name Description
OnAuthenticationError(BiometricErrorCode, ICharSequence)

Called when an unrecoverable error has been encountered and the operation is complete.

OnAuthenticationError(BiometricErrorCode, String)

OnAuthenticationError(BiometricErrorCode, ICharSequence)

Called when an unrecoverable error has been encountered and the operation is complete.

[Android.Runtime.Register("onAuthenticationError", "(ILjava/lang/CharSequence;)V", "GetOnAuthenticationError_ILjava_lang_CharSequence_Handler", ApiSince=37)]
public virtual void OnAuthenticationError(Android.Hardware.Biometrics.BiometricErrorCode errorCode, Java.Lang.ICharSequence errString);
[<Android.Runtime.Register("onAuthenticationError", "(ILjava/lang/CharSequence;)V", "GetOnAuthenticationError_ILjava_lang_CharSequence_Handler", ApiSince=37)>]
abstract member OnAuthenticationError : Android.Hardware.Biometrics.BiometricErrorCode * Java.Lang.ICharSequence -> unit
override this.OnAuthenticationError : Android.Hardware.Biometrics.BiometricErrorCode * Java.Lang.ICharSequence -> unit

Parameters

errorCode
BiometricErrorCode
errString
ICharSequence

A human-readable error string that can be shown in a UI. This value cannot be null.

Attributes

Remarks

Called when an unrecoverable error has been encountered and the operation is complete. No further actions will be made on this object.

Note that when the user triggers a back gesture, onBackPressed() is called instead of this method.

Android reference for android.hardware.biometrics.EmbeddedBiometricPrompt.AuthenticationCallback.onAuthenticationError.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

OnAuthenticationError(BiometricErrorCode, String)

public void OnAuthenticationError(Android.Hardware.Biometrics.BiometricErrorCode errorCode, string errString);
member this.OnAuthenticationError : Android.Hardware.Biometrics.BiometricErrorCode * string -> unit

Parameters

errorCode
BiometricErrorCode
errString
String

Applies to