Instance Property

activityType

The workout session’s activity type.

Declaration

@property(assign) HKWorkoutActivityType activityType;

Discussion

For a list of possible values, see HKWorkoutActivityType.

See Also

Session Settings

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.

HKWorkoutSwimmingLocationType

The possible locations for swimming.

lapLength

The length of the lap for a workout session.