ExerciseLocation

The location recorded during exercise. It follows the WGS84 coordinate system.

ExerciseType data contains one or more ExerciseSessions. For each ExerciseSession, an exercise route is provided with a set of ExerciseLocation. If the user allows the device's GPS use and exercises outdoors where GPS measurement is possible, then the Samsung Health saves exercise route during the exercise session.

Data Specification

ExerciseLocation consists of the following properties.

PropertyDescription
timestamp[Mandatory]
The timestamp representing the time when the location was recorded during exercise, specified as Instant, in milliseconds.
longitude[Mandatory]
The longitude of the location during exercise.
latitude[Mandatory]
The latitude of the location during exercise.
altitudeThe altitude of the location during exercise.
accuracyThe accuracy of the location.

Since

1.0.0

See also

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
@SerializedName(value = "accuracy")
val accuracy: Float?

The accuracy of the location.

Link copied to clipboard
@SerializedName(value = "altitude")
val altitude: Float?

The altitude of the location during exercise.

Link copied to clipboard
@SerializedName(value = "latitude")
val latitude: Float

The latitude of the location during exercise.

Link copied to clipboard
@SerializedName(value = "longitude")
val longitude: Float

The longitude of the location during exercise.

Link copied to clipboard

The timestamp representing the time when the location was recorded during exercise, specified as Instant, in milliseconds.

Preferences Submitted

You have successfully updated your cookie preferences.