DistanceRecord

@Serializable
@SerialName(value = "distance")
data class DistanceRecord(val startTime: Instant, val endTime: Instant, val distance: Double) : IntervalRecord

Captures the distance traveled by the user.

Constructors

Link copied to clipboard
constructor(startTime: Instant, endTime: Instant, distance: Double)

Properties

Link copied to clipboard
open override val dataType: HealthDataType
Link copied to clipboard
Link copied to clipboard
open override val endTime: Instant

End time of the record.

Link copied to clipboard
open override val startTime: Instant

Start time of the record.

Link copied to clipboard
open override val typeIdentifier: Int = 3