ExerciseSession

Details of a single exercise activity such as running or cycling.

Each exercise session is included in ExerciseType with a list. If the exercise data includes only one exercise activity, one ExerciseSession is included in the list.

Data specifications

The main properties of this entry are as follows.

PropertyDescription
startTime[Mandatory]
The timestamp representing the start of the measurement in this exercise session, specified as an Instant, in milliseconds.
endTime[Mandatory]
The timestamp representing the end of the measurement in this exercise session, specified as Instant, in milliseconds.
exerciseType[Mandatory]
The exercise type of this exercise session. It indicates the Samsung Health app's predefined exercise type.
duration[Mandatory]
The duration of this exercise session, specified as Duration, in milliseconds.
calories[Mandatory]
The calories burned during this exercise session, in kilocalories.
routeThis exercise session's route. It's a list of ExerciseLocation.
logThis exercise session's detailed logs such as heart rate or speed. It's a list of ExerciseLog.
swimmingLogIf the exercise session's exercise type is POOL_SWIMMING or OPEN_WATER_SWIMMING, detailed logs with SwimmingLog.
distanceThe distance covered during this exercise session, in meters.
countTypeThe count type for a countable exercise in this exercise session.
countThe number of counts for a countable exercise in this exercise session.
customTitleThe exercise title of this exercise session.
commentThe comment entered by the user for the session.

Depending on exerciseType, recorded properties may differ.

Since

1.0.0

See also

Types

Link copied to clipboard
class Builder

A builder to create an ExerciseSession instance.

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The altitude gain during this exercise session, in meters.

Link copied to clipboard

The altitude loss during this exercise session, in meters.

Link copied to clipboard

The calories burned during this exercise session, in kilocalories.

Link copied to clipboard

The comment entered by the user for the exercise session.

Link copied to clipboard
val count: Int?

The number of counts for a countable exercise in this exercise session.

Link copied to clipboard

The count type for a countable exercise in this exercise session.

Link copied to clipboard

The exercise title of this exercise session.

Link copied to clipboard

The distance covered on a declined surface during the exercise session, in meters.

Link copied to clipboard

The distance covered during this exercise session, in meters.

Link copied to clipboard

The duration of this exercise session, specified as Duration, in milliseconds.

Link copied to clipboard

The timestamp representing the end of the measurement in this exercise session, specified as Instant, in milliseconds.

Link copied to clipboard

The exercise type of this exercise session. It indicates the Samsung Health app's predefined exercise type.

Link copied to clipboard

The distance covered on an inclined surface during the exercise session, in meters.

Link copied to clipboard

This exercise session's detailed logs such as heart rate or speed. It's a list of ExerciseLog.

Link copied to clipboard

The highest altitude in this exercise session, in meters.

Link copied to clipboard

The highest value for the cadence in this exercise session, as either cycles per minute or swings per minute.

Link copied to clipboard

The highest value for the calorie burn rate in this exercise session.

Link copied to clipboard

The highest heart rate in this exercise session, in beats per minute.

Link copied to clipboard

The highest power in this exercise session, in Watts.

Link copied to clipboard

The highest value for revolutions per minute (RPM) in this exercise session.

Link copied to clipboard

The highest speed in this exercise session, in meters per second (m/s).

Link copied to clipboard

The average value for the cadence in this exercise session, as either cycles per minute or swings per minute.

Link copied to clipboard

The average calorie burn rate in this exercise session.

Link copied to clipboard

The average heart rate in this exercise session, in beats per minute.

Link copied to clipboard

The average power in this exercise session, in Watts.

Link copied to clipboard

The average value for revolutions per minute (RPM) in this exercise session.

Link copied to clipboard

The average speed in this exercise session, in meters per second (m/s).

Link copied to clipboard

The lowest altitude in this exercise session, in meters.

Link copied to clipboard

The lowest heart rate in this exercise session, in beats per minute.

Link copied to clipboard

This exercise session's route. It's a list of ExerciseLocation.

Link copied to clipboard

The timestamp representing the start of the measurement in this exercise session, specified as an Instant, in milliseconds.

Link copied to clipboard

If the exercise session's exercise type is POOL_SWIMMING or OPEN_WATER_SWIMMING, detailed logs with SwimmingLog.

Link copied to clipboard
val vo2Max: Float? = null

The VO2 max during this exercise session.

Preferences Submitted

You have successfully updated your cookie preferences.