Goal.FrequencyObjective

public static class Goal.FrequencyObjective extends Object
implements Parcelable

A frequency objective, which uses the number of activity segments to determine whether the goal is met. For example, 3 times (per week).

Inherited Constant Summary

Field Summary

public static final Creator<Goal.FrequencyObjective> CREATOR

Public Constructor Summary

FrequencyObjective(int frequency)

Public Method Summary

boolean
equals(Object other)
int
getFrequency()
Returns the objective frequency of the goal.
int
String
void
writeToParcel(Parcel dest, int flags)

Inherited Method Summary

Fields

public static final Creator<Goal.FrequencyObjective> CREATOR

Public Constructors

public FrequencyObjective (int frequency)

Public Methods

public boolean equals (Object other)

public int getFrequency ()

Returns the objective frequency of the goal. For example, returns 2 for a goal to "do yoga 2x a week".

public int hashCode ()

public String toString ()

public void writeToParcel (Parcel dest, int flags)