Global Variable

HKWorkoutTypeIdentifier

The workout type identifier.

Declaration

let HKWorkoutTypeIdentifier: String

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.

class HKWorkout

A workout sample stores information about a single physical activity.

class HKWorkoutType

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

enum HKWorkoutActivityType

The type of activity performed during a workout.

class HKWorkoutEvent

An object representing an important event during a workout.