Global Variable

HKMetadataKeyLapLength

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

Declaration

let HKMetadataKeyLapLength: String

Discussion

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).