| com.google.android.gms.auth.account.WorkAccountApi |
Set of APIs to manage work accounts.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| WorkAccountApi.AddAccountResult | Interface for result of addWorkAccount(GoogleApiClient, String). |
||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Add a work account.
| |||||||||||
Remove a work account.
| |||||||||||
Change the enabling status of the work authenticator.
| |||||||||||
Add a work account.
| apiClient | a GoogleApiClient object |
|---|---|
| token | OAuth token for the account. |
PendingResult indicating whether add account has succeeded.
Remove a work account.
| apiClient | a GoogleApiClient object |
|---|---|
| account | the account to be removed. |
PendingResult indicating whether remove account has succeeded.
Change the enabling status of the work authenticator.
| apiClient | a GoogleApiClient object |
|---|---|
| enabled | the new enabled status of the authenticator |