This interface 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.
Result from
SnapshotApi.getDetectedActivity(GoogleApiClient).
Public Method Summary
| abstract ActivityRecognitionResult |
getActivityRecognitionResult()
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
Public Methods
public abstract ActivityRecognitionResult getActivityRecognitionResult ()
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.
Returns the current detected activity.
Returns
- Activity data if
Result.getStatus()is successful, otherwise null.