Global Variable

HKWorkoutTypeIdentifier

The workout type identifier.

Declaration

NSString *const HKWorkoutTypeIdentifier;

Discussion

Use this type identifier when requesting permission to read or share workout data.

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.

HKWorkoutType

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

HKWorkoutActivityType

The type of activity performed during a workout.

HKWorkoutEvent

An object representing an important event during a workout.