Enumeration

HKWorkoutSwimmingLocationType

The possible locations for swimming.

Declaration

typedef enum HKWorkoutSwimmingLocationType : NSInteger {
    ...
} HKWorkoutSwimmingLocationType;

Topics

Swimming Locations

HKWorkoutSwimmingLocationTypeOpenWater

The user swam in open water like a lake or ocean.

HKWorkoutSwimmingLocationTypePool

The user swam in a pool.

HKWorkoutSwimmingLocationTypeUnknown

The swimming location could not be determined.

See Also

Session Settings

activityType

The workout session’s activity type.

locationType

The workout session’s location.

HKWorkoutSessionLocationType

A constant indicating whether the workout session takes place indoors or outdoors.

swimmingLocationType

The workout session’s swimming location.

lapLength

The length of the lap for a workout session.