public interface IAppAccountSubscriber
After a subscriber is registered with the application account management service, the application will notify the subscriber of account changes.
SystemCapability.Account#APP_ACCOUNT| 限定符和类型 | 方法 | 说明 |
|---|---|---|
void |
onAccountsChanged(List<AppAccount> accounts) |
Called when the status of subscribed accounts changes.
|
void onAccountsChanged(List<AppAccount> accounts)
accounts - Indicates the list of application accounts.