Enumeration

HKWorkoutSessionLocationType

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

Declaration

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

Topics

Constants

HKWorkoutSessionLocationTypeUnknown

It is not known whether the workout session is taking place indoors or outdoors.

HKWorkoutSessionLocationTypeIndoor

The workout session is indoors.

HKWorkoutSessionLocationTypeOutdoor

The workout session is outdoors.

See Also

Session Settings

activityType

The workout session’s activity type.

locationType

The workout session’s location.

swimmingLocationType

The workout session’s swimming location.

HKWorkoutSwimmingLocationType

The possible locations for swimming.

lapLength

The length of the lap for a workout session.