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 | |
int |
getFrequency()
Returns the objective frequency of the goal.
|
int |
hashCode()
|
String |
toString()
|
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".