Instance Property

locationType

A value that indicates whether the workout session occurred indoors or outdoors.

Declaration

@property(readonly) HKWorkoutSessionLocationType locationType;

Discussion

For a list of possible location values, see HKWorkoutSessionLocationType.

See Also

Deprecated Methods

- initWithActivityType:locationType:

Returns a newly instantiated workout session.

Deprecated
- initWithConfiguration:error:

Returns a newly instantiated workout session.

Deprecated
activityType

The workout activity performed during this session.

Deprecated