Page Summary
-
DetectedActivityResponse is a class that extends Response and represents the result from calling getDetectedActivity().
-
It includes a public method, getActivityRecognitionResult(), which returns the current detected activity as an ActivityRecognitionResult.
-
DetectedActivityResponse also inherits methods from the Response class, including getResult() and setResult().
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.
Result from
SnapshotClient.getDetectedActivity().
Public Method Summary
| 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 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.