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