java.lang.Object | |
↳ | com.google.android.gms.fitness.result.GoalsResult |
Result of readCurrentGoals(GoogleApiClient, GoalsReadRequest)
. Contains all of the
current goals. The method getGoals()
can be used to fetch the resulting goals.
The method getStatus()
can be be used to confirm that the request was successful.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
CREATOR |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns all current goals that matched the request.
| |||||||||||
Returns the status of this result.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
Returns all current goals that matched the request. Returns an empty list if no goals are found.
Returns | |
---|---|
List<Goal> |
Returns the status of this result. Use isSuccess()
to determine whether the
call was successful, and getStatusCode()
to determine what the error cause
was.
Certain errors are due to failures that can be resolved by launching a particular intent.
The resolution intent is available via getResolution()
.
Returns | |
---|---|
Status |
Parameters | |
---|---|
dest |
Parcel
|
flags |
int
|