Instance Property

locationType

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

Declaration

var locationType: HKWorkoutSessionLocationType { get }

Discussion

For a list of possible location values, see HKWorkoutSessionLocationType.

See Also

Deprecated Methods

init(configuration: HKWorkoutConfiguration)

Returns a newly instantiated workout session.

Deprecated
var activityType: HKWorkoutActivityType

The workout activity performed during this session.

Deprecated