Condividi tramite


BiometricPrompt.AuthenticationCallback.OnAuthenticationHelp Method

Definition

Overloads

OnAuthenticationHelp(BiometricAcquiredStatus, ICharSequence)

Called when a recoverable error has been encountered during authentication.

OnAuthenticationHelp(BiometricAcquiredStatus, String)

Called when a recoverable error has been encountered during authentication.

OnAuthenticationHelp(BiometricAcquiredStatus, ICharSequence)

Called when a recoverable error has been encountered during authentication.

[Android.Runtime.Register("onAuthenticationHelp", "(ILjava/lang/CharSequence;)V", "GetOnAuthenticationHelp_ILjava_lang_CharSequence_Handler", ApiSince=28)]
public virtual void OnAuthenticationHelp (Android.Hardware.Biometrics.BiometricAcquiredStatus helpCode, Java.Lang.ICharSequence? helpString);
[<Android.Runtime.Register("onAuthenticationHelp", "(ILjava/lang/CharSequence;)V", "GetOnAuthenticationHelp_ILjava_lang_CharSequence_Handler", ApiSince=28)>]
abstract member OnAuthenticationHelp : Android.Hardware.Biometrics.BiometricAcquiredStatus * Java.Lang.ICharSequence -> unit
override this.OnAuthenticationHelp : Android.Hardware.Biometrics.BiometricAcquiredStatus * Java.Lang.ICharSequence -> unit

Parameters

helpCode
BiometricAcquiredStatus

An integer identifying the error message

helpString
ICharSequence

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

Attributes

Remarks

Called when a recoverable error has been encountered during authentication. The help string is provided to give the user guidance for what went wrong, such as "Sensor dirty, please clean it."

Java documentation for android.hardware.biometrics.BiometricPrompt.AuthenticationCallback.onAuthenticationHelp(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

OnAuthenticationHelp(BiometricAcquiredStatus, String)

Called when a recoverable error has been encountered during authentication.

public void OnAuthenticationHelp (Android.Hardware.Biometrics.BiometricAcquiredStatus helpCode, string? helpString);
member this.OnAuthenticationHelp : Android.Hardware.Biometrics.BiometricAcquiredStatus * string -> unit

Parameters

helpCode
BiometricAcquiredStatus

An integer identifying the error message

helpString
String

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

Remarks

Called when a recoverable error has been encountered during authentication. The help string is provided to give the user guidance for what went wrong, such as "Sensor dirty, please clean it."

Java documentation for android.hardware.biometrics.BiometricPrompt.AuthenticationCallback.onAuthenticationHelp(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