GoalsResult

public class GoalsResult extends Object
implements Parcelable Result

This class is deprecated.
No replacement.

Result of GoalsApi.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.

Inherited Constant Summary

Field Summary

public static final Creator<GoalsResult> CREATOR

Public Method Summary

List<Goal>
getGoals()
Returns all current goals that matched the request.
Status
void
writeToParcel(Parcel dest, int flags)

Inherited Method Summary

Fields

public static final Creator<GoalsResult> CREATOR

Public Methods

public List<Goal> getGoals ()

Returns all current goals that matched the request. Returns an empty list if no goals are found.

public Status getStatus ()

public void writeToParcel (Parcel dest, int flags)