IOnAccountsUpdateListener.OnAccountsUpdated(Account[]) 方法

定义

当 AccountManager 启动时以及每当帐户集发生更改时,就会调用此调用。

[Android.Runtime.Register("onAccountsUpdated", "([Landroid/accounts/Account;)V", "GetOnAccountsUpdated_arrayLandroid_accounts_Account_Handler:Android.Accounts.IOnAccountsUpdateListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void OnAccountsUpdated (Android.Accounts.Account[]? accounts);
[<Android.Runtime.Register("onAccountsUpdated", "([Landroid/accounts/Account;)V", "GetOnAccountsUpdated_arrayLandroid_accounts_Account_Handler:Android.Accounts.IOnAccountsUpdateListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnAccountsUpdated : Android.Accounts.Account[] -> unit

参数

accounts
Account[]

当前帐户

属性

注解

当 AccountManager 启动时以及每当帐户集发生更改时,就会调用此调用。

适用于 . 的 android.accounts.OnAccountsUpdateListener.onAccountsUpdated(android.accounts.Account[])Java 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于