Android.Accounts 命名空间
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
提供帐户标识、帐户管理器操作、验证器、响应和帐户操作异常。
类
| 名称 | 说明 |
|---|---|
| AbstractAccountAuthenticator |
用于创建 AccountAuthenticators 的抽象基类。 |
| Account |
表示帐户 |
| Account.InterfaceConsts |
从 |
| AccountAuthenticatorActivity |
用于实现用于帮助实现 AbstractAccountAuthenticator 的活动的基类。 |
| AccountAuthenticatorResponse |
用于将响应传达回 AccountManager 的对象 |
| AccountAuthenticatorResponse.InterfaceConsts |
从 |
| AccountManager |
此类提供对用户联机帐户的集中式注册表的访问权限。 |
| AccountsException |
Android 帐户服务引发的异常的基类。 |
| AccountsUpdateEventArgs |
提供事件的数据 AccountsUpdated 。 |
| AuthenticatorDescription |
一种 |
| AuthenticatorDescription.InterfaceConsts |
从 |
| AuthenticatorException |
一个异常,指示帐户操作或验证器响应中出现错误。 |
| IAccountManagerFutureExtensions |
的 IAccountManagerFuture扩展方法 。 |
| NetworkErrorException |
当网络错误阻止验证器完成请求时引发的异常。 |
| OperationCanceledException |
在帐户管理器操作完成之前取消时引发的异常。 |
接口
| 名称 | 说明 |
|---|---|
| IAccountManagerCallback |
用于接收异步 AccountManager 操作结果的回调接口。 |
| IAccountManagerFuture |
A |
| IOnAccountsUpdateListener |
包含 AccountManager 使用的回调的接口 |
枚举
| 名称 | 说明 |
|---|---|
| AccountVisibility |
指定帐户对应用程序的可见性。 |
| ErrorCode |
枚举多个类型返回的值,并将其作为 F:Android.Accounts.AccountAuthenticatorResponse.OnError 成员的参数。 |