# WarmUpConfig

Artifact: [androidx.health:health-services-client](https://developer.android.com/jetpack/androidx/releases/health) [View Source](https://cs.android.com/search?q=file:androidx/health/services/client/data/WarmUpConfig.kt+class:androidx.health.services.client.data.WarmUpConfig) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/health#1.0.0)

*** ** * ** ***


```
public final class WarmUpConfig
```

<br />

*** ** * ** ***

Defines configuration for an exercise tracked using Health Services.

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/androidx/health/services/client/data/WarmUpConfig#WarmUpConfig(androidx.health.services.client.data.ExerciseType,kotlin.collections.Set)( @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/health/services/client/data/ExerciseType exerciseType, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/Set.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/health/services/client/data/DeltaDataType<@https://developer.android.com/reference/androidx/annotation/NonNull ?, @https://developer.android.com/reference/androidx/annotation/NonNull ?>> dataTypes )` Creates a new WarmUpConfig for an exercise tracked using Health Services |

| ### Public methods |
|---|---|
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/Set.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/health/services/client/data/DeltaDataType<@https://developer.android.com/reference/androidx/annotation/NonNull ?, @https://developer.android.com/reference/androidx/annotation/NonNull ?>>` | `https://developer.android.com/reference/androidx/health/services/client/data/WarmUpConfig#getDataTypes()()` `https://developer.android.com/reference/androidx/health/services/client/data/DeltaDataType`s which should be tracked during this exercise |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/health/services/client/data/ExerciseType` | `https://developer.android.com/reference/androidx/health/services/client/data/WarmUpConfig#getExerciseType()()` The active `https://developer.android.com/reference/androidx/health/services/client/data/ExerciseType` user is performing for this exercise |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/health/services/client/data/WarmUpConfig#toString()()` |

## 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](https://developer.android.com/jetpack/androidx/releases/health#1.0.0)

```
public final @NonNull Set<@NonNull DeltaDataType<@NonNull ?, @NonNull ?>> getDataTypes()
```

`https://developer.android.com/reference/androidx/health/services/client/data/DeltaDataType`s which should be tracked during this exercise

### getExerciseType

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/health#1.0.0)

```
public final @NonNull ExerciseType getExerciseType()
```

The active `https://developer.android.com/reference/androidx/health/services/client/data/ExerciseType` user is performing for this exercise

### toString

```
public @NonNull String toString()
```