語言

EmbeddedBiometricPrompt.AuthenticationCallback.OnAuthenticationHelp 方法

定義

多載

名稱 Description
OnAuthenticationHelp(Int32, ICharSequence)

當驗證過程中遇到可恢復的錯誤時,會呼叫。

OnAuthenticationHelp(Int32, String)

OnAuthenticationHelp(Int32, ICharSequence)

當驗證過程中遇到可恢復的錯誤時,會呼叫。

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

參數

helpCode
Int32
helpString
ICharSequence

一個可於使用者介面中顯示的可讀字串。 這個值不可能為零值。

屬性

備註

當驗證過程中遇到可恢復的錯誤時,會呼叫。 提供幫助字串,讓使用者判斷錯誤原因,例如「感測器髒了,請清理」。

Android 參考資料。android.hardware.biometrics.EmbeddedBiometricPrompt.AuthenticationCallback.onAuthenticationHelp

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

OnAuthenticationHelp(Int32, String)

public void OnAuthenticationHelp(int helpCode, string helpString);
member this.OnAuthenticationHelp : int * string -> unit

參數

helpCode
Int32
helpString
String

適用於