ExerciseGoalType


public final class ExerciseGoalType


Exercise goal types.

Summary

Public fields

static final @NonNull ExerciseGoalType

Goal type indicating this goal is for a repeating event and should remain until the calling app removes it.

static final @NonNull ExerciseGoalType

Goal type indicating this goal is for one event and should then be removed.

Public methods

boolean
equals(Object other)
static final ExerciseGoalType
fromId(int id)
final int
final @NonNull String
int
@NonNull String

Public fields

MILESTONE

public static final @NonNull ExerciseGoalType MILESTONE

Goal type indicating this goal is for a repeating event and should remain until the calling app removes it.

ONE_TIME_GOAL

public static final @NonNull ExerciseGoalType ONE_TIME_GOAL

Goal type indicating this goal is for one event and should then be removed.

Public methods

equals

public boolean equals(Object other)

fromId

Added in 1.0.0
public static final ExerciseGoalType fromId(int id)

getId

Added in 1.0.0
public final int getId()

getName

Added in 1.0.0
public final @NonNull String getName()

hashCode

public int hashCode()

toString

public @NonNull String toString()