Global Variable


A key that indicates the length of a lap during a workout.


let HKMetadataKeyLapLength: String


Set this key on a workout, workout segment, or a quantity sample that represents distance. Set its value to an HKQuantity object that uses length units (described in HKUnit).

See Also


let HKMetadataKeySwimmingLocationType: String

A key that indicates the location for a swimming workout.

let HKMetadataKeySwimmingStrokeStyle: String

A key that indicates the predominant stroke style for a lap of swimming.