Page Summary
-
WorkAccountApi.AddAccountResult is an interface that implements Result and is now deprecated.
-
It is recommended to use WorkAccountClient via WorkAccount.getClient(Activity) instead of this interface.
-
This interface was previously used for the result of WorkAccountApi.addWorkAccount(GoogleApiClient, String).
-
The getAccount() method returns the added Account object, or a non-null fake account if adding failed.
This interface is deprecated.
Use WorkAccountClient
via
WorkAccount.getClient(Activity) instead.
Interface for result of
WorkAccountApi.addWorkAccount(GoogleApiClient, String).
Public Method Summary
| abstract Account |
getAccount()
Returns a
Account
that has been added.
|