java.lang.Object | |
↳ | com.google.android.gms.awareness.Awareness |
The main entry point for the Awareness service.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
API | This field is deprecated. use #getFenceClient or #getSnapshotClient. | ||||||||||
FenceApi | This field is deprecated. use #getFenceClient. | ||||||||||
SnapshotApi | This field is deprecated. use #getSnapshotClient. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new instance of
FenceClient for use in an Activity . | |||||||||||
Creates a new instance of
FenceClient for use in a non-activity Context . | |||||||||||
Creates a new instance of
SnapshotClient for use in an Activity . | |||||||||||
Creates a new instance of
FenceClient for use in a non-activity Context . |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
This field is deprecated.
use #getFenceClient or #getSnapshotClient.
API token indicating use of the Awareness when building a GoogleApiClient
.
Creates a new instance of FenceClient
for use in an Activity
.
Parameters | |
---|---|
activity |
Activity |
Returns | |
---|---|
FenceClient |
Creates a new instance of FenceClient
for use in a non-activity Context
.
Parameters | |
---|---|
context |
Context |
Returns | |
---|---|
FenceClient |
Creates a new instance of SnapshotClient
for use in an Activity
.
Parameters | |
---|---|
activity |
Activity |
Returns | |
---|---|
SnapshotClient |
Creates a new instance of FenceClient
for use in a non-activity Context
.
Parameters | |
---|---|
context |
Context |
Returns | |
---|---|
SnapshotClient |