EmbeddedBiometricPrompt.AuthenticationCallback 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回調結構提供給 EmbeddedBiometricPrompt#startAuthenticationSession(
CancellationSignal, int, Executor, AuthenticationCallback)。
[Android.Runtime.Register("android/hardware/biometrics/EmbeddedBiometricPrompt$AuthenticationCallback", ApiSince=37, DoNotGenerateAcw=true)]
public abstract class EmbeddedBiometricPrompt.AuthenticationCallback : Java.Lang.Object
[<Android.Runtime.Register("android/hardware/biometrics/EmbeddedBiometricPrompt$AuthenticationCallback", ApiSince=37, DoNotGenerateAcw=true)>]
type EmbeddedBiometricPrompt.AuthenticationCallback = class
inherit Object
- 繼承
- 屬性
備註
回調結構提供給 EmbeddedBiometricPrompt.startAuthenticationSession(CancellationSignal, int, Executor, AuthenticationCallback)。 使用者必須提供此功能以監聽認證事件。
Android 參考資料。android.hardware.biometrics.EmbeddedBiometricPrompt.AuthenticationCallback
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。
建構函式
| 名稱 | Description |
|---|---|
| EmbeddedBiometricPrompt.AuthenticationCallback() |
回調結構提供給 |
| EmbeddedBiometricPrompt.AuthenticationCallback(IntPtr, JniHandleOwnership) |
回調結構提供給 |
屬性
| 名稱 | Description |
|---|---|
| Class |
傳回這個 |
| Handle |
基礎Android實例的句柄。 (繼承來源 Object) |
| JniIdentityHashCode |
取得由互通執行時指派給此 Java 對等端的身份雜湊碼。 (繼承來源 Object) |
| JniManagedPeerState |
回調結構提供給 |
| JniPeerMembers |
回調結構提供給 |
| PeerReference |
取得這個 Java 節點的 JNI 物件參考。 (繼承來源 Object) |
| ThresholdClass |
回調結構提供給 |
| ThresholdType |
回調結構提供給 |
方法
| 名稱 | Description |
|---|---|
| Clone() |
建立並傳回這個 對象的複本。 (繼承來源 Object) |
| Construct(JniObjectReference, JniObjectReferenceOptions) |
回調結構提供給 |
| Dispose() |
釋放該 Java 節點所持有的資源。 (繼承來源 Object) |
| Dispose(Boolean) |
釋放該 Java 節點所持有的資源。 (繼承來源 Object) |
| DisposeUnlessReferenced() |
回調結構提供給 |
| Equals(Object) |
回調結構提供給 |
| Equals(Object) |
指出其他物件是否「等於」這個物件。 (繼承來源 Object) |
| GetHashCode() |
傳回此物件的雜湊碼值。 (繼承來源 Object) |
| JavaFinalize() |
已淘汰.
當垃圾收集決定不再參考物件時,垃圾收集行程在 物件上呼叫。 (繼承來源 Object) |
| Notify() |
喚醒正在等候此物件監視器的單一線程。 (繼承來源 Object) |
| NotifyAll() |
喚醒正在等候此物件監視器的所有線程。 (繼承來源 Object) |
| OnAuthenticationError(BiometricErrorCode, ICharSequence) |
當遇到無法恢復的錯誤且操作完成時,會被呼叫。 |
| OnAuthenticationError(BiometricErrorCode, String) |
回調結構提供給 |
| OnAuthenticationFailed() |
當生物辨識有效但未被識別時會被呼叫。 |
| OnAuthenticationHelp(Int32, ICharSequence) |
當驗證過程中遇到可恢復的錯誤時,會呼叫。 |
| OnAuthenticationHelp(Int32, String) |
回調結構提供給 |
| OnAuthenticationPaused() |
當認證會話暫停時呼叫。 |
| OnAuthenticationResumed() |
當認證會話恢復時才會被呼叫。 |
| OnAuthenticationSucceeded(BiometricPrompt+AuthenticationResult) |
當生物識別被識別時會呼叫。 |
| OnBackPressed() |
當使用者觸發後退手勢或按後鍵時,會被呼叫。 |
| OnSessionStarted(Int64) |
當認證會話開始時才被呼叫。 |
| OnTappedOutside() |
當使用者點擊超出提示範圍時,會被呼叫。 |
| SetHandle(IntPtr, JniHandleOwnership) |
設定 Handle 屬性。 (繼承來源 Object) |
| SetPeerReference(JniObjectReference, JniObjectReferenceOptions) |
回調結構提供給 |
| ToArray<T>() |
從這個 Java 陣列包裝器建立一個受管理陣列。 (繼承來源 Object) |
| ToString() |
傳回物件的字串表示。 (繼承來源 Object) |
| UnregisterFromRuntime() |
將此 Java 節點從互通執行時中取消註冊。 (繼承來源 Object) |
| Wait() |
讓目前線程等候直到喚醒為止,通常是藉由em <notified/em>或<em>interrupted</em> 來喚醒它。<> (繼承來源 Object) |
| Wait(Int64, Int32) |
讓目前的線程等到喚醒為止,通常是因為 <em>notified</em> 或 <em>interrupted</em>,或直到經過一定數量的實時為止。 (繼承來源 Object) |
| Wait(Int64) |
讓目前的線程等到喚醒為止,通常是因為 <em>notified</em> 或 <em>interrupted</em>,或直到經過一定數量的實時為止。 (繼承來源 Object) |
明確介面實作
| 名稱 | Description |
|---|---|
| IJavaPeerable.Disposed() |
回調結構提供給 |
| IJavaPeerable.Finalized() |
回調結構提供給 |
| IJavaPeerable.JniObjectReferenceControlBlock |
回調結構提供給 |
| IJavaPeerable.SetJniIdentityHashCode(Int32) |
回調結構提供給 |
| IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) |
回調結構提供給 |
| IJavaPeerable.SetPeerReference(JniObjectReference) |
回調結構提供給 |
擴充方法
| 名稱 | Description |
|---|---|
| GetJniTypeName(IJavaPeerable) |
取得實例 |
| JavaAs<TResult>(IJavaPeerable) |
試著強制 |
| JavaCast<TResult>(IJavaObject) |
執行 Android 執行時間檢查的類型轉換。 |
| JavaCast<TResult>(IJavaObject) |
回調結構提供給 |
| TryJavaCast<TResult>(IJavaPeerable, TResult) |
試著強制 |