# WarmUpConfig

# 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)

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/androidx/health/services/client/data/WarmUpConfig "View this page in Java")

<br />

```
class WarmUpConfig
```

<br />

*** ** * ** ***

Defines configuration for an exercise tracked using Health Services.

## Summary

|                                                                                                                                                                                                                                                                                                                     ### Public constructors                                                                                                                                                                                                                                                                                                                      |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [WarmUpConfig](https://developer.android.com/reference/kotlin/androidx/health/services/client/data/WarmUpConfig#WarmUpConfig(androidx.health.services.client.data.ExerciseType,kotlin.collections.Set))`(` ` exerciseType: `[ExerciseType](https://developer.android.com/reference/kotlin/androidx/health/services/client/data/ExerciseType)`,` ` dataTypes: `[Set](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-set/index.html)`<`[DeltaDataType](https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DeltaDataType)`<*, *>>` `)` Creates a new WarmUpConfig for an exercise tracked using Health Services |

|                                   ### Public functions                                   |
|------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------|
| `open `[String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html) | [toString](https://developer.android.com/reference/kotlin/androidx/health/services/client/data/WarmUpConfig#toString())`()` |

|                                                                                                 ### Public properties                                                                                                 |
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Set](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-set/index.html)`<`[DeltaDataType](https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DeltaDataType)`<*, *>>` | [dataTypes](https://developer.android.com/reference/kotlin/androidx/health/services/client/data/WarmUpConfig#dataTypes()) [DeltaDataType](https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DeltaDataType)s which should be tracked during this exercise     |
| [ExerciseType](https://developer.android.com/reference/kotlin/androidx/health/services/client/data/ExerciseType)                                                                                                      | [exerciseType](https://developer.android.com/reference/kotlin/androidx/health/services/client/data/WarmUpConfig#exerciseType()) The active[ExerciseType](https://developer.android.com/reference/kotlin/androidx/health/services/client/data/ExerciseType)user is performing for this exercise |

## Public constructors

### WarmUpConfig

```
WarmUpConfig(
    exerciseType: ExerciseType,
    dataTypes: Set<DeltaDataType<*, *>>
)
```

Creates a new WarmUpConfig for an exercise tracked using Health Services  

## Public functions

### toString

```
open fun toString(): String
```  

## Public properties

### dataTypes

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

```
val dataTypes: Set<DeltaDataType<*, *>>
```

[DeltaDataType](https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DeltaDataType)s which should be tracked during this exercise  

### exerciseType

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

```
val exerciseType: ExerciseType
```

The active[ExerciseType](https://developer.android.com/reference/kotlin/androidx/health/services/client/data/ExerciseType)user is performing for this exercise