DetectedActivityResponse
Inherited Method Summary
From class java.lang.Object
Object
|
clone()
|
boolean |
|
void |
finalize()
|
final Class<?>
|
getClass()
|
int |
hashCode()
|
final void |
notify()
|
final void |
notifyAll()
|
String
|
toString()
|
final void |
wait(long arg0, int arg1)
|
final void |
wait(long arg0)
|
final void |
wait()
|
Public Methods
Returns the current detected activity.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[null,null,["Last updated 2024-10-31 UTC."],[[["`DetectedActivityResponse` provides the result of a detected activity request using the `getDetectedActivity()` method."],["It extends the `Response` class and holds a `DetectedActivityResult` object."],["You can retrieve the current detected activity using the `getActivityRecognitionResult()` method."],["It inherits methods from `Response` to access the result and set a new result."]]],["`DetectedActivityResponse` extends `Response` and provides the result from `getDetectedActivity()`. It features one primary method, `getActivityRecognitionResult()`, which retrieves the current detected activity as an `ActivityRecognitionResult`. The class also inherits methods like `getResult()` and `setResult()` for handling `DetectedActivityResult`. Standard Java methods like `equals()`, `hashCode()`, `toString()` and others are also inherited from `Object`.\n"]]