ExerciseInfo


public final class ExerciseInfo


High-level info about the exercise.

Summary

Public constructors

ExerciseInfo(
    int exerciseTrackedStatus,
    @NonNull ExerciseType exerciseType
)

Public methods

final int

Returns the ExerciseTrackedStatus.

final @NonNull ExerciseType

Returns the ExerciseType of the active exercise, or ExerciseType.UNKNOWN if there is no active exercise.

Public constructors

ExerciseInfo

Added in 1.0.0
public ExerciseInfo(
    int exerciseTrackedStatus,
    @NonNull ExerciseType exerciseType
)

Public methods

getExerciseTrackedStatus

Added in 1.0.0
public final int getExerciseTrackedStatus()

Returns the ExerciseTrackedStatus.

getExerciseType

Added in 1.0.0
public final @NonNull ExerciseType getExerciseType()

Returns the ExerciseType of the active exercise, or ExerciseType.UNKNOWN if there is no active exercise.