WarmUpConfig


public final class WarmUpConfig


Defines configuration for an exercise tracked using Health Services.

Summary

Public constructors

WarmUpConfig(
    @NonNull ExerciseType exerciseType,
    @NonNull Set<@NonNull DeltaDataType<@NonNull ?, @NonNull ?>> dataTypes
)

Creates a new WarmUpConfig for an exercise tracked using Health Services

Public methods

final @NonNull Set<@NonNull DeltaDataType<@NonNull ?, @NonNull ?>>

DeltaDataTypes which should be tracked during this exercise

final @NonNull ExerciseType

The active ExerciseType user is performing for this exercise

@NonNull String

Public constructors

WarmUpConfig

public WarmUpConfig(
    @NonNull ExerciseType exerciseType,
    @NonNull Set<@NonNull DeltaDataType<@NonNull ?, @NonNull ?>> dataTypes
)

Creates a new WarmUpConfig for an exercise tracked using Health Services

Public methods

getDataTypes

Added in 1.0.0
public final @NonNull Set<@NonNull DeltaDataType<@NonNull ?, @NonNull ?>> getDataTypes()

DeltaDataTypes which should be tracked during this exercise

getExerciseType

Added in 1.0.0
public final @NonNull ExerciseType getExerciseType()

The active ExerciseType user is performing for this exercise

toString

public @NonNull String toString()