public static interface DbxAccountManager.AccountListener
Note that callbacks may not be delivered on the UI thread, so they shouldn't perform any direct UI access.
Modifier and Type | Method and Description |
---|---|
void |
onLinkedAccountChange(DbxAccountManager mgr,
DbxAccount acct)
Called whenever a new account is linked, or an existing
account is unlinked.
|
void onLinkedAccountChange(DbxAccountManager mgr, DbxAccount acct)
Listeners are called on the main UI thread. To keep your UI responsive, you shouldn't do anything slow in your listener.
mgr
- the account manager on which this listener was
registered.acct
- the account that has been linked or unlinked.
Examine this object to determine which one has occurred.