This class is deprecated.
The Awareness API is deprecated and will be turned down in a future Google Play services
release, as early as January 2027. There is no direct replacement.
The main entry point for the Awareness service.
Field Summary
| public static final Api<AwarenessOptions> | API | This field is deprecated. The Awareness API is deprecated and will be turned down in a future Google Play services release, as early as January 2027. There is no direct replacement. |
| public static final FenceApi | FenceApi | This field is deprecated. The Awareness API is deprecated and will be turned down in a future Google Play services release, as early as January 2027. There is no direct replacement. |
| public static final SnapshotApi | SnapshotApi | This field is deprecated. The Awareness API is deprecated and will be turned down in a future Google Play services release, as early as January 2027. There is no direct replacement. |
Public Method Summary
| static FenceClient |
getFenceClient(Activity
activity)
This method is deprecated. The Awareness API is deprecated and will be
turned down in a future Google Play services release, as early as January 2027.
There is no direct replacement.
|
| static FenceClient |
getFenceClient(Context
context)
This method is deprecated. The Awareness API is deprecated and will be
turned down in a future Google Play services release, as early as January 2027.
There is no direct replacement.
|
| static SnapshotClient |
getSnapshotClient(Activity
activity)
This method is deprecated. The Awareness API is deprecated and will be
turned down in a future Google Play services release, as early as January 2027.
There is no direct replacement.
|
| static SnapshotClient |
getSnapshotClient(Context
context)
This method is deprecated. The Awareness API is deprecated and will be
turned down in a future Google Play services release, as early as January 2027.
There is no direct replacement.
|
Inherited Method Summary
Fields
public static final Api<AwarenessOptions> API
This field is deprecated.
The Awareness API is deprecated and will be turned down in a future Google Play services
release, as early as January 2027. There is no direct replacement.
API token indicating use of the Awareness when building a GoogleApiClient.
public static final FenceApi FenceApi
This field is deprecated.
The Awareness API is deprecated and will be turned down in a future Google Play services
release, as early as January 2027. There is no direct replacement.
public static final SnapshotApi SnapshotApi
This field is deprecated.
The Awareness API is deprecated and will be turned down in a future Google Play services
release, as early as January 2027. There is no direct replacement.
Public Methods
public static FenceClient getFenceClient (Activity activity)
This method is deprecated.
The Awareness API is deprecated and will be turned down in a future Google Play services
release, as early as January 2027. There is no direct replacement.
Creates a new instance of FenceClient
for use in an Activity.
public static FenceClient getFenceClient (Context context)
This method is deprecated.
The Awareness API is deprecated and will be turned down in a future Google Play services
release, as early as January 2027. There is no direct replacement.
Creates a new instance of FenceClient
for use in a non-activity Context.
public static SnapshotClient getSnapshotClient (Activity activity)
This method is deprecated.
The Awareness API is deprecated and will be turned down in a future Google Play services
release, as early as January 2027. There is no direct replacement.
Creates a new instance of SnapshotClient
for use in an Activity.
public static SnapshotClient getSnapshotClient (Context context)
This method is deprecated.
The Awareness API is deprecated and will be turned down in a future Google Play services
release, as early as January 2027. There is no direct replacement.
Creates a new instance of FenceClient
for use in a non-activity Context.