The workout type identifier.
SDKs
- iOS 8.0+
- watchOS 2.0+
Framework
- Health
Kit
Declaration
let HKWorkoutTypeIdentifier: String
Discussion
Use this type identifier when requesting permission to read or share workout data.
The workout type identifier.
SDKs
Framework
let HKWorkoutTypeIdentifier: String
Use this type identifier when requesting permission to read or share workout data.
Record a physical activity using workout samples.
class HKWorkout
A workout sample stores information about a single physical activity.
class HKWorkout Type
The workout type identifies samples that store information about a workout.
enum HKWorkout Activity Type
The type of activity performed during a workout.
class HKWorkout Event
An object representing an important event during a workout.