ExerciseInfo

public data final class ExerciseInfo


High-level info about the exercise.

Summary

Nested types

ExerciseInfo.Companion

Public fields

final @NonNull ExerciseTrackedStatus

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(
    @NonNull ExerciseTrackedStatus exerciseTrackedStatus,
    @NonNull ExerciseType exerciseType
)

Public methods

int
void
writeToParcel(@NonNull Parcel dest, int flags)

Public fields

exerciseTrackedStatus

@NonNull
public final @NonNull ExerciseTrackedStatus exerciseTrackedStatus

Returns the ExerciseTrackedStatus.

exerciseType

@NonNull
public final @NonNull ExerciseType exerciseType

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

Public constructors

ExerciseInfo

public final ExerciseInfo(
    @NonNull ExerciseTrackedStatus exerciseTrackedStatus,
    @NonNull ExerciseType exerciseType
)

Public methods

describeContents

@NonNull
public int describeContents()

writeToParcel

@NonNull
public void writeToParcel(@NonNull Parcel dest, int flags)