Partager via


BiometricPrompt.AuthenticationCallback.OnAuthenticationError Method

Definition

Overloads

OnAuthenticationError(BiometricErrorCode, ICharSequence)

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

OnAuthenticationError(BiometricErrorCode, String)

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

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=28)]
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=28)>]
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

An integer identifying the error message

errString
ICharSequence

A human-readable error string that can be shown on an UI

Attributes

Remarks

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

Java documentation for android.hardware.biometrics.BiometricPrompt.AuthenticationCallback.onAuthenticationError(int, java.lang.CharSequence).

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)

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

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

Parameters

errorCode
BiometricErrorCode

An integer identifying the error message

errString
String

A human-readable error string that can be shown on an UI

Remarks

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

Java documentation for android.hardware.biometrics.BiometricPrompt.AuthenticationCallback.onAuthenticationError(int, java.lang.CharSequence).

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