ExerciseCompletionGoal.TotalCaloriesBurnedGoal


public final class ExerciseCompletionGoal.TotalCaloriesBurnedGoal extends ExerciseCompletionGoal


An ExerciseCompletionGoal that requires a specified number of total calories to be burned.

Summary

Public constructors

Public methods

boolean
equals(Object other)
final @NonNull Energy
int
@NonNull String

Public constructors

TotalCaloriesBurnedGoal

Added in 1.1.0-alpha10
public TotalCaloriesBurnedGoal(@NonNull Energy totalCalories)

Public methods

equals

public boolean equals(Object other)

getTotalCalories

Added in 1.1.0-alpha10
public final @NonNull Energy getTotalCalories()

hashCode

public int hashCode()

toString

public @NonNull String toString()