語言

AuthenticationRequiredException(Throwable, PendingIntent) 建構函式

定義

建立一個可以丟棄的實例。

[Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;Landroid/app/PendingIntent;)V", "", ApiSince=26)]
public AuthenticationRequiredException(Java.Lang.Throwable? cause, Android.App.PendingIntent? userAction);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;Landroid/app/PendingIntent;)V", "", ApiSince=26)>]
new Android.App.AuthenticationRequiredException : Java.Lang.Throwable * Android.App.PendingIntent -> Android.App.AuthenticationRequiredException

參數

cause
Throwable

原始原因,細節設計給工程觀眾。

userAction
PendingIntent

主要行動將啟動恢復。 此系統必須啟動預期會在結束前設定的 Activity#setResult(int) 活動,以傳達復原的最終狀態。 例如,觀察到的 Activity#RESULT_OK 應用程式可能會立即重新嘗試操作。

屬性

備註

建立一個可以丟棄的實例。

Android 參考資料。android.app.AuthenticationRequiredException.AuthenticationRequiredException

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

適用於