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. e.g. 3 times (per week).

Inherited Constant Summary

Field Summary

public static final Creator<Goal.FrequencyObjective> CREATOR

Public Constructor Summary

Goal.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 Goal.FrequencyObjective (int frequency)

Public Methods

public boolean equals (Object other)

public int getFrequency ()

Returns the objective frequency of the goal. e.g. Returns 2 for a goal to "do yoga 2x a week".

public int hashCode ()

public String toString ()

public void writeToParcel (Parcel dest, int flags)