# DataType

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/DataType.kt+class:androidx.health.services.client.data.DataType) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/health#1.0.0)

*** ** * ** ***

<br />

```
abstract class DataType<T : Any, D : DataPoint<T>>
```

<br />

Known direct subclasses [AggregateDataType](https://developer.android.com/reference/kotlin/androidx/health/services/client/data/AggregateDataType), [DeltaDataType](https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DeltaDataType)

|---|---|
| `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/AggregateDataType` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType` that represents aggregated data. |
| `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DeltaDataType` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType` that represents a granular, non-aggregated point in time. |

*** ** * ** ***

A data type is a representation of health data managed by Health Services.

A `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType` specifies the type of the values inside of a `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataPoint`. Health Services defines data types for instantaneous observations (Samples / `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/SampleDataPoint`, e.g. heart rate) and data types for a change between readings (Intervals / `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/IntervalDataPoint`, e.g. distance).

Health services also allows specifying aggregated versions of many data types, which will allow the developer to get e.g. a running total of intervals (`https://developer.android.com/reference/kotlin/androidx/health/services/client/data/CumulativeDataPoint`) or statistics like min/max/average on samples (`https://developer.android.com/reference/kotlin/androidx/health/services/client/data/StatisticalDataPoint`).

Note: the data type defines only the representation and format of the data, and not how it's being collected, the sensor being used, or the parameters of the collection. As an example, `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#DISTANCE()` may come from GPS location if available, or steps if not available.

## Summary

| ### Nested types |
|---|
| `class https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType.TimeType` Whether the `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType` corresponds to a measurement spanning an interval, or a sample at a single point in time. |

| ### Public companion properties |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DeltaDataType<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html, https://developer.android.com/reference/kotlin/androidx/health/services/client/data/SampleDataPoint<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html>>` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#ABSOLUTE_ELEVATION()` Absolute elevation at a specific point in time expressed in meters. |
| `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/AggregateDataType<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html, https://developer.android.com/reference/kotlin/androidx/health/services/client/data/StatisticalDataPoint<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html>>` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#ABSOLUTE_ELEVATION_STATS()` Statistical information about the absolute elevation over the course of the active exercise expressed in meters. |
| `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/AggregateDataType<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html, https://developer.android.com/reference/kotlin/androidx/health/services/client/data/CumulativeDataPoint<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html>>` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#ACTIVE_EXERCISE_DURATION_TOTAL()` The total time the Exercise was `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/ExerciseState#ACTIVE()` in seconds. |
| `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DeltaDataType<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html, https://developer.android.com/reference/kotlin/androidx/health/services/client/data/IntervalDataPoint<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html>>` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#CALORIES()` Number of calories burned (including basal rate and activity) since the last update. |
| `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DeltaDataType<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html, https://developer.android.com/reference/kotlin/androidx/health/services/client/data/IntervalDataPoint<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html>>` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#CALORIES_DAILY()` The total number of calories over a day (including both BMR and active calories), where the previous day ends and a new day begins at 12:00 AM local time. |
| `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/AggregateDataType<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html, https://developer.android.com/reference/kotlin/androidx/health/services/client/data/CumulativeDataPoint<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html>>` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#CALORIES_TOTAL()` Total number of calories burned (including basal rate and activity) since the start of the current active exercise. |
| `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DeltaDataType<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html, https://developer.android.com/reference/kotlin/androidx/health/services/client/data/IntervalDataPoint<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html>>` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#DECLINE_DISTANCE()` Distance traveled over declining ground between each reading expressed in meters. |
| `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/AggregateDataType<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html, https://developer.android.com/reference/kotlin/androidx/health/services/client/data/CumulativeDataPoint<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html>>` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#DECLINE_DISTANCE_TOTAL()` The total distance traveled over declining ground between each reading since the start of the active exercise expressed in meters. |
| `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DeltaDataType<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html, https://developer.android.com/reference/kotlin/androidx/health/services/client/data/IntervalDataPoint<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html>>` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#DECLINE_DURATION()` The amount of time the user spent traveling over declining ground since the last update, expressed in seconds. |
| `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/AggregateDataType<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html, https://developer.android.com/reference/kotlin/androidx/health/services/client/data/CumulativeDataPoint<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html>>` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#DECLINE_DURATION_TOTAL()` Total duration the user spent traveling over declining ground since the start of the active exercise, expressed in seconds. |
| `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DeltaDataType<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html, https://developer.android.com/reference/kotlin/androidx/health/services/client/data/IntervalDataPoint<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html>>` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#DISTANCE()` A distance delta between each reading expressed in meters. |
| `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DeltaDataType<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html, https://developer.android.com/reference/kotlin/androidx/health/services/client/data/IntervalDataPoint<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html>>` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#DISTANCE_DAILY()` The total distance over a day, where the previous day ends and a new day begins at 12:00 AM local time. |
| `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/AggregateDataType<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html, https://developer.android.com/reference/kotlin/androidx/health/services/client/data/CumulativeDataPoint<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html>>` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#DISTANCE_TOTAL()` Total distance since the start of the active exercise expressed in meters. |
| `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DeltaDataType<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html, https://developer.android.com/reference/kotlin/androidx/health/services/client/data/IntervalDataPoint<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html>>` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#ELEVATION_GAIN()` A measure of the gain in elevation since the last update expressed in meters. |
| `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DeltaDataType<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html, https://developer.android.com/reference/kotlin/androidx/health/services/client/data/IntervalDataPoint<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html>>` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#ELEVATION_GAIN_DAILY()` The total gain in elevation over a day expressed in meters in `double` format, where the previous day ends and a new day begins at 12:00 AM local time. |
| `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/AggregateDataType<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html, https://developer.android.com/reference/kotlin/androidx/health/services/client/data/CumulativeDataPoint<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html>>` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#ELEVATION_GAIN_TOTAL()` A measure of the total gain in elevation since the start of an active exercise expressed in meters. |
| `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DeltaDataType<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html, https://developer.android.com/reference/kotlin/androidx/health/services/client/data/IntervalDataPoint<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html>>` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#ELEVATION_LOSS()` A measure of the loss in elevation since the last update expressed in meters. |
| `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/AggregateDataType<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html, https://developer.android.com/reference/kotlin/androidx/health/services/client/data/CumulativeDataPoint<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html>>` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#ELEVATION_LOSS_TOTAL()` A measure of the total loss in elevation since the start of an active exercise expressed in meters. |
| `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DeltaDataType<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html, https://developer.android.com/reference/kotlin/androidx/health/services/client/data/IntervalDataPoint<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html>>` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#FLAT_GROUND_DISTANCE()` The distance traveled over flat since the last update expressed in meters. |
| `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/AggregateDataType<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html, https://developer.android.com/reference/kotlin/androidx/health/services/client/data/CumulativeDataPoint<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html>>` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#FLAT_GROUND_DISTANCE_TOTAL()` The total distance traveled over flat ground since the start of the active exercise expressed in meters. |
| `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DeltaDataType<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html, https://developer.android.com/reference/kotlin/androidx/health/services/client/data/IntervalDataPoint<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html>>` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#FLAT_GROUND_DURATION()` The amount of time the user spent traveling over flat ground since the last update, expressed in seconds. |
| `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/AggregateDataType<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html, https://developer.android.com/reference/kotlin/androidx/health/services/client/data/CumulativeDataPoint<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html>>` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#FLAT_GROUND_DURATION_TOTAL()` The total duration the user spent traveling over flat ground since the start of the active exercise, expressed in seconds. |
| `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DeltaDataType<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html, https://developer.android.com/reference/kotlin/androidx/health/services/client/data/IntervalDataPoint<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html>>` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#FLOORS()` Number of floors climbed since the last update. |
| `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DeltaDataType<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html, https://developer.android.com/reference/kotlin/androidx/health/services/client/data/IntervalDataPoint<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html>>` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#FLOORS_DAILY()` The total number floors climbed over a day, where the previous day ends and a new day begins at 12:00 AM local time. |
| `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/AggregateDataType<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html, https://developer.android.com/reference/kotlin/androidx/health/services/client/data/CumulativeDataPoint<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html>>` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#FLOORS_TOTAL()` Total number of floors climbed since the start of the active exercise. |
| `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DeltaDataType<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html, https://developer.android.com/reference/kotlin/androidx/health/services/client/data/IntervalDataPoint<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html>>` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#GOLF_SHOT_COUNT()` The number of golf shots taken since the last update, where a golf shot consists of swinging the club and hitting the ball. |
| `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/AggregateDataType<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html, https://developer.android.com/reference/kotlin/androidx/health/services/client/data/CumulativeDataPoint<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html>>` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#GOLF_SHOT_COUNT_TOTAL()` The total number of golf shots taken since the start of the current active exercise, where a golf shot consists swinging the club and hitting the ball. |
| `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DeltaDataType<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html, https://developer.android.com/reference/kotlin/androidx/health/services/client/data/SampleDataPoint<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html>>` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#GROUND_CONTACT_TIME()` The amount of time during a single step that the runner's foot was in contact with the ground in milliseconds in `long` format. |
| `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/AggregateDataType<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html, https://developer.android.com/reference/kotlin/androidx/health/services/client/data/StatisticalDataPoint<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html>>` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#GROUND_CONTACT_TIME_STATS()` Statistics on the amount of time during a single step that the runner's foot was in contact with the ground in milliseconds in `long` format. |
| `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DeltaDataType<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html, https://developer.android.com/reference/kotlin/androidx/health/services/client/data/SampleDataPoint<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html>>` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#HEART_RATE_BPM()` Current heart rate, in beats per minute. |
| `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/AggregateDataType<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html, https://developer.android.com/reference/kotlin/androidx/health/services/client/data/StatisticalDataPoint<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html>>` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#HEART_RATE_BPM_STATS()` Statistics on heart rate since the start of the current exercise, expressed in beats per minute. |
| `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DeltaDataType<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html, https://developer.android.com/reference/kotlin/androidx/health/services/client/data/IntervalDataPoint<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html>>` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#INCLINE_DISTANCE()` The distance traveled over inclining ground since the last update expressed in meters. |
| `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/AggregateDataType<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html, https://developer.android.com/reference/kotlin/androidx/health/services/client/data/CumulativeDataPoint<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html>>` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#INCLINE_DISTANCE_TOTAL()` The total distance traveled over inclining since the start of the active exercise expressed in meters. |
| `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DeltaDataType<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html, https://developer.android.com/reference/kotlin/androidx/health/services/client/data/IntervalDataPoint<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html>>` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#INCLINE_DURATION()` The amount of time the user spent traveling over inclining ground since the last update, expressed in seconds. |
| `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/AggregateDataType<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html, https://developer.android.com/reference/kotlin/androidx/health/services/client/data/CumulativeDataPoint<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html>>` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#INCLINE_DURATION_TOTAL()` Total amount of time the user spent traveling over inclining ground since the start of the active exercise, expressed in seconds. |
| `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DeltaDataType<https://developer.android.com/reference/kotlin/androidx/health/services/client/data/LocationData, https://developer.android.com/reference/kotlin/androidx/health/services/client/data/SampleDataPoint<https://developer.android.com/reference/kotlin/androidx/health/services/client/data/LocationData>>` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#LOCATION()` Latitude, longitude and optionally, altitude and bearing at a specific point in time. |
| `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DeltaDataType<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html, https://developer.android.com/reference/kotlin/androidx/health/services/client/data/SampleDataPoint<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html>>` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#PACE()` Pace at a specific point in time. |
| `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/AggregateDataType<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html, https://developer.android.com/reference/kotlin/androidx/health/services/client/data/StatisticalDataPoint<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html>>` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#PACE_STATS()` Statistics on pace since the start of the current exercise. |
| `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DeltaDataType<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html, https://developer.android.com/reference/kotlin/androidx/health/services/client/data/IntervalDataPoint<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html>>` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#REP_COUNT()` The number of repetitions of an exercise performed since the last update. |
| `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/AggregateDataType<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html, https://developer.android.com/reference/kotlin/androidx/health/services/client/data/CumulativeDataPoint<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html>>` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#REP_COUNT_TOTAL()` The number of repetitions of an exercise performed since the start of the current active exercise. |
| `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DeltaDataType<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html, https://developer.android.com/reference/kotlin/androidx/health/services/client/data/IntervalDataPoint<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html>>` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#RESTING_EXERCISE_DURATION()` The number of seconds the user has been resting during an exercise since the last update. |
| `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/AggregateDataType<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html, https://developer.android.com/reference/kotlin/androidx/health/services/client/data/CumulativeDataPoint<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html>>` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#RESTING_EXERCISE_DURATION_TOTAL()` The total number of seconds the user has been resting during the active exercise. |
| `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DeltaDataType<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html, https://developer.android.com/reference/kotlin/androidx/health/services/client/data/IntervalDataPoint<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html>>` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#RUNNING_STEPS()` Number of steps taken while running since the last update. |
| `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/AggregateDataType<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html, https://developer.android.com/reference/kotlin/androidx/health/services/client/data/CumulativeDataPoint<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html>>` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#RUNNING_STEPS_TOTAL()` Number of steps taken while running since the start of the current active exercise. |
| `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DeltaDataType<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html, https://developer.android.com/reference/kotlin/androidx/health/services/client/data/SampleDataPoint<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html>>` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#SPEED()` Speed at a specific point in time, expressed as meters/second. |
| `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/AggregateDataType<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html, https://developer.android.com/reference/kotlin/androidx/health/services/client/data/StatisticalDataPoint<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html>>` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#SPEED_STATS()` Statistics on speed since the start of the active exercise, expressed in meters/second. |
| `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DeltaDataType<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html, https://developer.android.com/reference/kotlin/androidx/health/services/client/data/IntervalDataPoint<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html>>` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#STEPS()` Number of steps taken since the last update. |
| `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DeltaDataType<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html, https://developer.android.com/reference/kotlin/androidx/health/services/client/data/IntervalDataPoint<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html>>` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#STEPS_DAILY()` The total step count over a day, where the previous day ends and a new day begins at 12:00 AM local time. |
| `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DeltaDataType<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html, https://developer.android.com/reference/kotlin/androidx/health/services/client/data/SampleDataPoint<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html>>` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#STEPS_PER_MINUTE()` Step rate in steps/minute at a given point in time. |
| `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/AggregateDataType<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html, https://developer.android.com/reference/kotlin/androidx/health/services/client/data/StatisticalDataPoint<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html>>` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#STEPS_PER_MINUTE_STATS()` Statistics on step rate in steps/minute since the beginning of the current active exercise. |
| `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/AggregateDataType<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html, https://developer.android.com/reference/kotlin/androidx/health/services/client/data/CumulativeDataPoint<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html>>` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#STEPS_TOTAL()` Total steps taken since the start of the active exercise. |
| `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DeltaDataType<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html, https://developer.android.com/reference/kotlin/androidx/health/services/client/data/SampleDataPoint<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html>>` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#STRIDE_LENGTH()` Distance covered by a single step in meters in `double` format. |
| `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/AggregateDataType<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html, https://developer.android.com/reference/kotlin/androidx/health/services/client/data/StatisticalDataPoint<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html>>` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#STRIDE_LENGTH_STATS()` Statistics on distance covered by a single step in meters in `double` format. |
| `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DeltaDataType<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html, https://developer.android.com/reference/kotlin/androidx/health/services/client/data/IntervalDataPoint<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html>>` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#SWIMMING_LAP_COUNT()` Count of swimming laps since the last update. |
| `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/AggregateDataType<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html, https://developer.android.com/reference/kotlin/androidx/health/services/client/data/CumulativeDataPoint<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html>>` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#SWIMMING_LAP_COUNT_TOTAL()` Count of swimming laps since the start of the current active exercise. |
| `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DeltaDataType<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html, https://developer.android.com/reference/kotlin/androidx/health/services/client/data/IntervalDataPoint<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html>>` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#SWIMMING_STROKES()` Number of swimming strokes taken since the last update. |
| `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/AggregateDataType<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html, https://developer.android.com/reference/kotlin/androidx/health/services/client/data/CumulativeDataPoint<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html>>` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#SWIMMING_STROKES_TOTAL()` Total number of swimming strokes taken since the start of the current active exercise. |
| `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DeltaDataType<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html, https://developer.android.com/reference/kotlin/androidx/health/services/client/data/SampleDataPoint<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html>>` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#VERTICAL_OSCILLATION()` Distance the center of mass moves up-and-down with each step in centimeters in `double` format. |
| `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/AggregateDataType<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html, https://developer.android.com/reference/kotlin/androidx/health/services/client/data/StatisticalDataPoint<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html>>` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#VERTICAL_OSCILLATION_STATS()` Statistic on distance the center of mass moves up-and-down with each step in centimeters in `double` format. |
| `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DeltaDataType<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html, https://developer.android.com/reference/kotlin/androidx/health/services/client/data/SampleDataPoint<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html>>` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#VERTICAL_RATIO()` Vertical oscillation / stride length. |
| `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/AggregateDataType<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html, https://developer.android.com/reference/kotlin/androidx/health/services/client/data/StatisticalDataPoint<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html>>` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#VERTICAL_RATIO_STATS()` Statistics on vertical oscillation / stride length. |
| `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DeltaDataType<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html, https://developer.android.com/reference/kotlin/androidx/health/services/client/data/SampleDataPoint<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html>>` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#VO2_MAX()` Maximum rate of oxygen consumption measured at a specific point in time. |
| `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/AggregateDataType<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html, https://developer.android.com/reference/kotlin/androidx/health/services/client/data/StatisticalDataPoint<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html>>` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#VO2_MAX_STATS()` Statistics on maximum rate of oxygen consumption measured since the start of an exercise. |
| `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DeltaDataType<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html, https://developer.android.com/reference/kotlin/androidx/health/services/client/data/IntervalDataPoint<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html>>` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#WALKING_STEPS()` Number of steps taken while walking since the last update. |
| `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/AggregateDataType<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html, https://developer.android.com/reference/kotlin/androidx/health/services/client/data/CumulativeDataPoint<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html>>` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#WALKING_STEPS_TOTAL()` Total number of steps taken while walking since the start of the current active exercise. |

| ### Public constructors |
|---|
| `<T : https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html, D : https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataPoint<T>> https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#DataType(kotlin.String,androidx.health.services.client.data.DataType.TimeType,java.lang.Class,kotlin.Boolean)( name: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html, timeType: https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType.TimeType, valueClass: https://developer.android.com/reference/java/lang/Class.html<T>, isAggregate: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html )` |

| ### Public functions |
|---|---|
| `open operator https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#equals(kotlin.Any)(other: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?)` |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#hashCode()()` |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#toString()()` |

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#name()` Returns the name of this `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType`, e.g. `"Steps"`. |
| `https://developer.android.com/reference/java/lang/Class.html<T>` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#valueClass()` Returns the underlying `https://developer.android.com/reference/java/lang/Class.html` of this `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType`. |

## Public companion properties

### ABSOLUTE_ELEVATION

```
val ABSOLUTE_ELEVATION: DeltaDataType<Double, SampleDataPoint<Double>>
```

Absolute elevation at a specific point in time expressed in meters.

### ABSOLUTE_ELEVATION_STATS

```
val ABSOLUTE_ELEVATION_STATS: AggregateDataType<Double, StatisticalDataPoint<Double>>
```

Statistical information about the absolute elevation over the course of the active exercise expressed in meters.

### ACTIVE_EXERCISE_DURATION_TOTAL

```
val ACTIVE_EXERCISE_DURATION_TOTAL: AggregateDataType<Long, CumulativeDataPoint<Long>>
```

The total time the Exercise was `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/ExerciseState#ACTIVE()` in seconds.

***Note* : this `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType` is only intended to be used in conjunction with exercise goals. `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataPoint`s will not be delivered for this `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType`. If you want to query the active duration, you should use ExerciseUpdate.activeDuration which is available in every `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/ExerciseUpdate`.**

### CALORIES

```
val CALORIES: DeltaDataType<Double, IntervalDataPoint<Double>>
```

Number of calories burned (including basal rate and activity) since the last update.

### CALORIES_DAILY

```
val CALORIES_DAILY: DeltaDataType<Double, IntervalDataPoint<Double>>
```

The total number of calories over a day (including both BMR and active calories), where the previous day ends and a new day begins at 12:00 AM local time. Each `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataPoint` of this type will cover the interval from the start of day to now. In the event of time-zone shifts, the interval might be greater than 24hrs.

### CALORIES_TOTAL

```
val CALORIES_TOTAL: AggregateDataType<Double, CumulativeDataPoint<Double>>
```

Total number of calories burned (including basal rate and activity) since the start of the current active exercise.

### DECLINE_DISTANCE

```
val DECLINE_DISTANCE: DeltaDataType<Double, IntervalDataPoint<Double>>
```

Distance traveled over declining ground between each reading expressed in meters.

### DECLINE_DISTANCE_TOTAL

```
val DECLINE_DISTANCE_TOTAL: AggregateDataType<Double, CumulativeDataPoint<Double>>
```

The total distance traveled over declining ground between each reading since the start of the active exercise expressed in meters.

### DECLINE_DURATION

```
val DECLINE_DURATION: DeltaDataType<Long, IntervalDataPoint<Long>>
```

The amount of time the user spent traveling over declining ground since the last update, expressed in seconds.

### DECLINE_DURATION_TOTAL

```
val DECLINE_DURATION_TOTAL: AggregateDataType<Long, CumulativeDataPoint<Long>>
```

Total duration the user spent traveling over declining ground since the start of the active exercise, expressed in seconds.

### DISTANCE

```
val DISTANCE: DeltaDataType<Double, IntervalDataPoint<Double>>
```

A distance delta between each reading expressed in meters.

### DISTANCE_DAILY

```
val DISTANCE_DAILY: DeltaDataType<Double, IntervalDataPoint<Double>>
```

The total distance over a day, where the previous day ends and a new day begins at 12:00 AM local time. Each DataPoint of this type will cover the interval from the start of day to now. In the event of time-zone shifts, the interval may be greater than 24hrs.

### DISTANCE_TOTAL

```
val DISTANCE_TOTAL: AggregateDataType<Double, CumulativeDataPoint<Double>>
```

Total distance since the start of the active exercise expressed in meters.

### ELEVATION_GAIN

```
val ELEVATION_GAIN: DeltaDataType<Double, IntervalDataPoint<Double>>
```

A measure of the gain in elevation since the last update expressed in meters. Elevation losses are not counted in this metric (so it will only be positive or 0).

### ELEVATION_GAIN_DAILY

```
val ELEVATION_GAIN_DAILY: DeltaDataType<Double, IntervalDataPoint<Double>>
```

The total gain in elevation over a day expressed in meters in `double` format, where the previous day ends and a new day begins at 12:00 AM local time. Elevation losses are not counted in this metric (so it will only be positive or 0). Each DataPoint of this type will cover the interval from the start of day to now. In the event of time-zone shifts, the interval might be greater than 24hrs.

### ELEVATION_GAIN_TOTAL

```
val ELEVATION_GAIN_TOTAL: AggregateDataType<Double, CumulativeDataPoint<Double>>
```

A measure of the total gain in elevation since the start of an active exercise expressed in meters. Elevation losses are not counted in this metric (so it will only be positive or 0).

### ELEVATION_LOSS

```
val ELEVATION_LOSS: DeltaDataType<Double, IntervalDataPoint<Double>>
```

A measure of the loss in elevation since the last update expressed in meters. Elevation gains are not counted in this metric (so it will only be positive or 0).

### ELEVATION_LOSS_TOTAL

```
val ELEVATION_LOSS_TOTAL: AggregateDataType<Double, CumulativeDataPoint<Double>>
```

A measure of the total loss in elevation since the start of an active exercise expressed in meters. Elevation gains are not counted in this metric (so it will only be positive or 0).

### FLAT_GROUND_DISTANCE

```
val FLAT_GROUND_DISTANCE: DeltaDataType<Double, IntervalDataPoint<Double>>
```

The distance traveled over flat since the last update expressed in meters.

### FLAT_GROUND_DISTANCE_TOTAL

```
val FLAT_GROUND_DISTANCE_TOTAL: AggregateDataType<Double, CumulativeDataPoint<Double>>
```

The total distance traveled over flat ground since the start of the active exercise expressed in meters.

### FLAT_GROUND_DURATION

```
val FLAT_GROUND_DURATION: DeltaDataType<Long, IntervalDataPoint<Long>>
```

The amount of time the user spent traveling over flat ground since the last update, expressed in seconds.

### FLAT_GROUND_DURATION_TOTAL

```
val FLAT_GROUND_DURATION_TOTAL: AggregateDataType<Long, CumulativeDataPoint<Long>>
```

The total duration the user spent traveling over flat ground since the start of the active exercise, expressed in seconds.

### FLOORS

```
val FLOORS: DeltaDataType<Double, IntervalDataPoint<Double>>
```

Number of floors climbed since the last update. Note that partial floors are supported, so this is represented as a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html`.

### FLOORS_DAILY

```
val FLOORS_DAILY: DeltaDataType<Double, IntervalDataPoint<Double>>
```

The total number floors climbed over a day, where the previous day ends and a new day begins at 12:00 AM local time. Each DataPoint of this type will cover the interval from the start of day to now. In the event of time-zone shifts, the interval may be greater than 24hrs.

### FLOORS_TOTAL

```
val FLOORS_TOTAL: AggregateDataType<Double, CumulativeDataPoint<Double>>
```

Total number of floors climbed since the start of the active exercise. Note that partial floors are supported, so this is represented as a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html`.

### GOLF_SHOT_COUNT

```
val GOLF_SHOT_COUNT: DeltaDataType<Long, IntervalDataPoint<Long>>
```

The number of golf shots taken since the last update, where a golf shot consists of swinging the club and hitting the ball.

### GOLF_SHOT_COUNT_TOTAL

```
val GOLF_SHOT_COUNT_TOTAL: AggregateDataType<Long, CumulativeDataPoint<Long>>
```

The total number of golf shots taken since the start of the current active exercise, where a golf shot consists swinging the club and hitting the ball.

### GROUND_CONTACT_TIME

```
val GROUND_CONTACT_TIME: DeltaDataType<Long, SampleDataPoint<Long>>
```

The amount of time during a single step that the runner's foot was in contact with the ground in milliseconds in `long` format.

### GROUND_CONTACT_TIME_STATS

```
val GROUND_CONTACT_TIME_STATS: AggregateDataType<Long, StatisticalDataPoint<Long>>
```

Statistics on the amount of time during a single step that the runner's foot was in contact with the ground in milliseconds in `long` format.

### HEART_RATE_BPM

```
val HEART_RATE_BPM: DeltaDataType<Double, SampleDataPoint<Double>>
```

Current heart rate, in beats per minute.

Accuracy for a `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataPoint` of type `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#HEART_RATE_BPM()` is represented by `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/HeartRateAccuracy`.

### HEART_RATE_BPM_STATS

```
val HEART_RATE_BPM_STATS: AggregateDataType<Double, StatisticalDataPoint<Double>>
```

Statistics on heart rate since the start of the current exercise, expressed in beats per minute.

### INCLINE_DISTANCE

```
val INCLINE_DISTANCE: DeltaDataType<Double, IntervalDataPoint<Double>>
```

The distance traveled over inclining ground since the last update expressed in meters.

### INCLINE_DISTANCE_TOTAL

```
val INCLINE_DISTANCE_TOTAL: AggregateDataType<Double, CumulativeDataPoint<Double>>
```

The total distance traveled over inclining since the start of the active exercise expressed in meters.

### INCLINE_DURATION

```
val INCLINE_DURATION: DeltaDataType<Long, IntervalDataPoint<Long>>
```

The amount of time the user spent traveling over inclining ground since the last update, expressed in seconds.

### INCLINE_DURATION_TOTAL

```
val INCLINE_DURATION_TOTAL: AggregateDataType<Long, CumulativeDataPoint<Long>>
```

Total amount of time the user spent traveling over inclining ground since the start of the active exercise, expressed in seconds.

### LOCATION

```
val LOCATION: DeltaDataType<LocationData, SampleDataPoint<LocationData>>
```

Latitude, longitude and optionally, altitude and bearing at a specific point in time.

Accuracy for a `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataPoint` of type `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType#LOCATION()` is represented by `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/LocationAccuracy`.

### PACE

```
val PACE: DeltaDataType<Double, SampleDataPoint<Double>>
```

Pace at a specific point in time. Will be 0 if the user stops moving, otherwise the value will be in milliseconds/kilometer.

### PACE_STATS

```
val PACE_STATS: AggregateDataType<Double, StatisticalDataPoint<Double>>
```

Statistics on pace since the start of the current exercise. A value of 0 indicates the user stopped moving, otherwise the value will be in milliseconds/kilometer.

### REP_COUNT

```
val REP_COUNT: DeltaDataType<Long, IntervalDataPoint<Long>>
```

The number of repetitions of an exercise performed since the last update.

### REP_COUNT_TOTAL

```
val REP_COUNT_TOTAL: AggregateDataType<Long, CumulativeDataPoint<Long>>
```

The number of repetitions of an exercise performed since the start of the current active exercise.

### RESTING_EXERCISE_DURATION

```
val RESTING_EXERCISE_DURATION: DeltaDataType<Long, IntervalDataPoint<Long>>
```

The number of seconds the user has been resting during an exercise since the last update.

### RESTING_EXERCISE_DURATION_TOTAL

```
val RESTING_EXERCISE_DURATION_TOTAL: AggregateDataType<Long, CumulativeDataPoint<Long>>
```

The total number of seconds the user has been resting during the active exercise.

### RUNNING_STEPS

```
val RUNNING_STEPS: DeltaDataType<Long, IntervalDataPoint<Long>>
```

Number of steps taken while running since the last update.

### RUNNING_STEPS_TOTAL

```
val RUNNING_STEPS_TOTAL: AggregateDataType<Long, CumulativeDataPoint<Long>>
```

Number of steps taken while running since the start of the current active exercise.

### SPEED

```
val SPEED: DeltaDataType<Double, SampleDataPoint<Double>>
```

Speed at a specific point in time, expressed as meters/second.

### SPEED_STATS

```
val SPEED_STATS: AggregateDataType<Double, StatisticalDataPoint<Double>>
```

Statistics on speed since the start of the active exercise, expressed in meters/second.

### STEPS

```
val STEPS: DeltaDataType<Long, IntervalDataPoint<Long>>
```

Number of steps taken since the last update.

### STEPS_DAILY

```
val STEPS_DAILY: DeltaDataType<Long, IntervalDataPoint<Long>>
```

The total step count over a day, where the previous day ends and a new day begins at 12:00 AM local time. Each `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataPoint` of this type will cover the interval from the start of day to now. In the event of time-zone shifts, the interval may be greater than 24hrs.

### STEPS_PER_MINUTE

```
val STEPS_PER_MINUTE: DeltaDataType<Long, SampleDataPoint<Long>>
```

Step rate in steps/minute at a given point in time.

### STEPS_PER_MINUTE_STATS

```
val STEPS_PER_MINUTE_STATS: AggregateDataType<Long, StatisticalDataPoint<Long>>
```

Statistics on step rate in steps/minute since the beginning of the current active exercise.

### STEPS_TOTAL

```
val STEPS_TOTAL: AggregateDataType<Long, CumulativeDataPoint<Long>>
```

Total steps taken since the start of the active exercise.

### STRIDE_LENGTH

```
val STRIDE_LENGTH: DeltaDataType<Double, SampleDataPoint<Double>>
```

Distance covered by a single step in meters in `double` format.

### STRIDE_LENGTH_STATS

```
val STRIDE_LENGTH_STATS: AggregateDataType<Double, StatisticalDataPoint<Double>>
```

Statistics on distance covered by a single step in meters in `double` format.

### SWIMMING_LAP_COUNT

```
val SWIMMING_LAP_COUNT: DeltaDataType<Long, IntervalDataPoint<Long>>
```

Count of swimming laps since the last update.

### SWIMMING_LAP_COUNT_TOTAL

```
val SWIMMING_LAP_COUNT_TOTAL: AggregateDataType<Long, CumulativeDataPoint<Long>>
```

Count of swimming laps since the start of the current active exercise.

### SWIMMING_STROKES

```
val SWIMMING_STROKES: DeltaDataType<Long, IntervalDataPoint<Long>>
```

Number of swimming strokes taken since the last update.

### SWIMMING_STROKES_TOTAL

```
val SWIMMING_STROKES_TOTAL: AggregateDataType<Long, CumulativeDataPoint<Long>>
```

Total number of swimming strokes taken since the start of the current active exercise.

### VERTICAL_OSCILLATION

```
val VERTICAL_OSCILLATION: DeltaDataType<Double, SampleDataPoint<Double>>
```

Distance the center of mass moves up-and-down with each step in centimeters in `double` format.

### VERTICAL_OSCILLATION_STATS

```
val VERTICAL_OSCILLATION_STATS: AggregateDataType<Double, StatisticalDataPoint<Double>>
```

Statistic on distance the center of mass moves up-and-down with each step in centimeters in `double` format.

### VERTICAL_RATIO

```
val VERTICAL_RATIO: DeltaDataType<Double, SampleDataPoint<Double>>
```

Vertical oscillation / stride length.

For example, a vertical oscillation of 5.0cm and stride length .8m (80 cm) would have a vertical ratio of 0.625.

### VERTICAL_RATIO_STATS

```
val VERTICAL_RATIO_STATS: AggregateDataType<Double, StatisticalDataPoint<Double>>
```

Statistics on vertical oscillation / stride length.

For example, a vertical oscillation of 5.0cm and stride length .8m (80 cm) would have a vertical ratio of 0.625.

### VO2_MAX

```
val VO2_MAX: DeltaDataType<Double, SampleDataPoint<Double>>
```

Maximum rate of oxygen consumption measured at a specific point in time. Valid range `0f` - `100f`.

### VO2_MAX_STATS

```
val VO2_MAX_STATS: AggregateDataType<Double, StatisticalDataPoint<Double>>
```

Statistics on maximum rate of oxygen consumption measured since the start of an exercise. Valid range `0f` - `100f`.

### WALKING_STEPS

```
val WALKING_STEPS: DeltaDataType<Long, IntervalDataPoint<Long>>
```

Number of steps taken while walking since the last update.

### WALKING_STEPS_TOTAL

```
val WALKING_STEPS_TOTAL: AggregateDataType<Long, CumulativeDataPoint<Long>>
```

Total number of steps taken while walking since the start of the current active exercise.

## Public constructors

### DataType

```
<T : Any, D : DataPoint<T>> DataType(
    name: String,
    timeType: DataType.TimeType,
    valueClass: Class<T>,
    isAggregate: Boolean
)
```

## Public functions

### equals

```
open operator fun equals(other: Any?): Boolean
```

### hashCode

```
open fun hashCode(): Int
```

### toString

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

## Public properties

### name

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

```
val name: String
```

Returns the name of this `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType`, e.g. `"Steps"`.

### valueClass

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

```
val valueClass: Class<T>
```

Returns the underlying `https://developer.android.com/reference/java/lang/Class.html` of this `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/DataType`.