Page Summary
-
DetectedActivityResult is a Result from getDetectedActivity(GoogleApiClient).
-
It includes a method to get the current detected activity as an ActivityRecognitionResult.
-
The status of the result can be obtained using the inherited getStatus() method.
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.