Global Variable

HKMetadataKeySwimmingStrokeStyle

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

Declaration

let HKMetadataKeySwimmingStrokeStyle: String

Discussion

Set this key on workout lap events. Set its value to an NSNumber object that contains a valid value from the HKSwimmingStrokeStyle enumeration.

Topics

Valid Stroke Styles

enum HKSwimmingStrokeStyle

The style of stroke while swimming.

See Also

Swimming

let HKMetadataKeySwimmingLocationType: String

A key that indicates the location for a swimming workout.

let HKMetadataKeyLapLength: String

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