Speed

data class Speed(val unit: KHUnit.Velocity, val startTime: Instant, val endTime: Instant) : KHReadRequest

Depicts that the app wants to read records of type KHRecord.Speed from the health store.

Parameters

unit

The measurement scale that the returned value should be converted to

startTime

Filters the returned records list to at least start from this time instant

endTime

Filters the returned records list to at most end at this time instant

Constructors

Link copied to clipboard
constructor(unit: KHUnit.Velocity, startTime: Instant, endTime: Instant)

Properties

Link copied to clipboard
val endTime: Instant
Link copied to clipboard
val startTime: Instant
Link copied to clipboard