Instance Property

activityType

The workout activity performed during this session.

Declaration

@property(readonly) HKWorkoutActivityType activityType;

Discussion

For a list of possible activity types, see HKWorkoutActivityType.

See Also

Deprecated Methods

- initWithActivityType:locationType:

Returns a newly instantiated workout session.

Deprecated
- initWithConfiguration:error:

Returns a newly instantiated workout session.

Deprecated
locationType

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

Deprecated