of

fun of(timestamp: Instant, longitude: Float, latitude: Float, altitude: Float?, accuracy: Float?): ExerciseLocation

Creates an ExerciseLocation instance with the given params.

Return

An ExerciseLocation instance.

Since

1.0.0

Parameters

timestamp

The time when the location was recorded during exercise.

longitude

The longitude of the location during exercise.

latitude

The latitude of the location during exercise.

altitude

The altitude of the location during exercise.

accuracy

The accuracy of the location.

Preferences Submitted

You have successfully updated your cookie preferences.