Condividi tramite


FingerprintManager.AuthenticationCallback.OnAuthenticationHelp Method

Definition

Overloads

OnAuthenticationHelp(FingerprintState, ICharSequence)

Called when a recoverable error has been encountered during authentication.

OnAuthenticationHelp(FingerprintState, String)

Called when a recoverable error has been encountered during authentication.

OnAuthenticationHelp(FingerprintState, 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=23)]
public virtual void OnAuthenticationHelp (Android.Hardware.Fingerprints.FingerprintState helpCode, Java.Lang.ICharSequence? helpString);
[<Android.Runtime.Register("onAuthenticationHelp", "(ILjava/lang/CharSequence;)V", "GetOnAuthenticationHelp_ILjava_lang_CharSequence_Handler", ApiSince=23)>]
abstract member OnAuthenticationHelp : Android.Hardware.Fingerprints.FingerprintState * Java.Lang.ICharSequence -> unit
override this.OnAuthenticationHelp : Android.Hardware.Fingerprints.FingerprintState * Java.Lang.ICharSequence -> unit

Parameters

helpCode
FingerprintState

An integer identifying the error message

helpString
ICharSequence

A human-readable string that can be shown in 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.fingerprint.FingerprintManager.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(FingerprintState, String)

Called when a recoverable error has been encountered during authentication.

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

Parameters

helpCode
FingerprintState

An integer identifying the error message

helpString
String

A human-readable string that can be shown in 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.fingerprint.FingerprintManager.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