Class

HKWorkoutType

A type that identifies samples that store information about a workout.

Declaration

@interface HKWorkoutType : HKSampleType

Overview

The HKWorkoutType class is a concrete subclass of the HKObjectType class. To create a workout type instances, use the workoutType convenience method.

All workouts use the same workout type instance.

Relationships

Inherits From

See Also

Samples

Using Workout Samples

Record a physical activity using workout samples.

HKWorkout

A workout sample stores information about a single physical activity.

HKWorkoutBuilder

A builder object that incrementally constructs a workout.

HKWorkoutTypeIdentifier

The workout type identifier.

HKWorkoutActivityType

The type of activity performed during a workout.

HKWorkoutEvent

An object representing an important event during a workout.