java.lang.Object | |
↳ | com.google.android.gms.auth.account.WorkAccount |
WorkAccount provides APIs to manage work accounts (com.google.work).
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
API | Token to pass to addApi(Api extends Api.ApiOptions.NotRequiredOptions>) to enable the WorkAccount features. |
||||||||||
WorkAccountApi |
This field is deprecated.
Use WorkAccountClient via getClient(Activity) instead.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new instance of
WorkAccountClient for use in an Activity . | |||||||||||
Creates a new instance of
WorkAccountClient for use in a Context . |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Token to pass to addApi(Api extends Api.ApiOptions.NotRequiredOptions>)
to enable the WorkAccount features.
This field is deprecated.
Use WorkAccountClient
via getClient(Activity)
instead.
Set of APIs to manage work accounts.
Creates a new instance of WorkAccountClient
for use in an Activity
.
Parameters | |
---|---|
activity |
Activity |
Returns | |
---|---|
WorkAccountClient |
Creates a new instance of WorkAccountClient
for use in a Context
.
Parameters | |
---|---|
context |
Context |
Returns | |
---|---|
WorkAccountClient |