Android.Accounts 命名空间

提供帐户标识、帐户管理器操作、验证器、响应和帐户操作异常。

类

名称 说明
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

在帐户管理器操作完成之前取消时引发的异常。

接口

名称 说明
IAccountManagerCallback

用于接收异步 AccountManager 操作结果的回调接口。

IAccountManagerFuture

A AccountManagerFuture 表示异步 AccountManager 调用的结果。

IOnAccountsUpdateListener

包含 AccountManager 使用的回调的接口

枚举

名称 说明
AccountVisibility

指定帐户对应用程序的可见性。

ErrorCode

枚举多个类型返回的值,并将其作为 F:Android.Accounts.AccountAuthenticatorResponse.OnError 成员的参数。