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

Adding Samples to a Workout

Create associated samples that add details to a workout.

class HKWorkout

A workout sample that stores information about a single physical activity.

class HKWorkoutBuilder

A builder object that incrementally constructs a workout.

class HKWorkoutType

A type that 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.