Instance Property

activityType

The workout activity performed during this session.

Declaration

var activityType: HKWorkoutActivityType { get }

Discussion

For a list of possible activity types, see HKWorkoutActivityType.

See Also

Deprecated Methods

init(configuration: HKWorkoutConfiguration)

Returns a newly instantiated workout session.

Deprecated
var locationType: HKWorkoutSessionLocationType

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

Deprecated