Android.Accounts 命名空間

類別

名稱 Description
AbstractAccountAuthenticator

建立 AccountAuthenticators 的抽象基底類別。

Account

代表帳戶的 AccountManager值類型。

Account.InterfaceConsts

常數從 android.os.Parcelable 重新匯出以用於 Account。

AccountAuthenticatorActivity

這是用來實作一個活動的基底類別,該活動用來協助實作 AbstractAccountAuthenticator。

AccountAuthenticatorResponse

用來將回應傳達回 AccountManager 的物件

AccountAuthenticatorResponse.InterfaceConsts

常數從 android.os.Parcelable 重新匯出以用於 AccountAuthenticatorResponse。

AccountManager

此類別提供使用者線上帳戶的集中登記系統存取。

AccountsException

Android 帳號服務拋出的例外基礎類別。

AccountsUpdateEventArgs

提供 AccountsUpdated 事件的數據。

AuthenticatorDescription

一個 Parcelable 包含帳戶驗證器資訊的值類型。

AuthenticatorDescription.InterfaceConsts

常數從 android.os.Parcelable 重新匯出以用於 AuthenticatorDescription。

AuthenticatorException

當與驗證器通訊失敗或驗證器回傳無效回應時,會拋出例外。

IAccountManagerFutureExtensions

的 IAccountManagerFuture擴展方法 。

NetworkErrorException

當網路錯誤導致認證器無法完成請求時,會拋出例外。

OperationCanceledException

當帳戶管理員操作在完成前被取消時,會拋出例外。

介面

名稱 Description
IAccountManagerCallback

一個回調介面,用於接收非同步 AccountManager 操作的結果。

IAccountManagerFuture

A AccountManagerFuture 代表非同步 AccountManager 呼叫的結果。

IOnAccountsUpdateListener

一個包含 AccountManager 回撥的介面

列舉

名稱 Description
AccountVisibility

指定帳號對應用程式的可見性。

ErrorCode

列舉由多種類型回傳的值,並作為 的參數,F:Android.Accounts.AccountAuthenticatorResponse.OnError 成員。