HKWorkoutActivityType Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enumerates various activities that are considered workouts.
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 2, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public enum HKWorkoutActivityType
type HKWorkoutActivityType =
- Inheritance
-
HKWorkoutActivityType
- Attributes
Fields
AmericanFootball | 1 | American football. |
Archery | 2 | Archery. |
AustralianFootball | 3 | Australian football. |
Badminton | 4 | Badminton. |
Barre | 58 | |
Baseball | 5 | Baseball. |
Basketball | 6 | Basketball. |
Bowling | 7 | Bowling. |
Boxing | 8 | Boxing. |
Climbing | 9 | Climbing. |
CoreTraining | 59 | |
Cricket | 10 | Cricket. |
CrossCountrySkiing | 60 | |
CrossTraining | 11 | Cross training. |
Curling | 12 | Curling. |
Cycling | 13 | Cycling. |
Dance | 14 | Dance. |
DanceInspiredTraining | 15 | Developers should not use this deprecated field. Developers should use 'HKWorkoutActivityType.Dance', 'HKWorkoutActivityType.Barre', or 'HKWorkoutActivityType.Pilates'. |
DownhillSkiing | 61 | |
Elliptical | 16 | Elliptical machine training. |
EquestrianSports | 17 | Equestrian sports. |
Fencing | 18 | Fencing. |
Fishing | 19 | Fishing. |
Flexibility | 62 | |
FunctionalStrengthTraining | 20 | Functional strength training. |
Golf | 21 | Golf. |
Gymnastics | 22 | Gymnastics. |
Handball | 23 | Handball. |
HandCycling | 74 | |
HighIntensityIntervalTraining | 63 | |
Hiking | 24 | Hiking. |
Hockey | 25 | Hockey. |
Hunting | 26 | Hunting. |
JumpRope | 64 | |
Kickboxing | 65 | |
Lacrosse | 27 | Lacrosse. |
MartialArts | 28 | Martial arts. |
MindAndBody | 29 | Mind and body training. |
MixedCardio | 73 | |
MixedMetabolicCardioTraining | 30 | Mixed metabolic cardio training. |
Other | 3000 | Another kind of workout. |
PaddleSports | 31 | Paddle sports. |
Pilates | 66 | |
Play | 32 | Play. |
PreparationAndRecovery | 33 | Preparation and recovery. |
Racquetball | 34 | Racquetball. |
Rowing | 35 | Rowing. |
Rugby | 36 | Rugby. |
Running | 37 | Running. |
Sailing | 38 | Sailing. |
SkatingSports | 39 | Skating sports. |
Snowboarding | 67 | |
SnowSports | 40 | Snow sports. |
Soccer | 41 | Soccer. |
Softball | 42 | Softball. |
Squash | 43 | Squash. |
StairClimbing | 44 | Stair climbing. |
Stairs | 68 | |
StepTraining | 69 | |
SurfingSports | 45 | Surfing sports. |
Swimming | 46 | Swimming. |
TableTennis | 47 | Table tennis. |
TaiChi | 72 | |
Tennis | 48 | Tennis. |
TrackAndField | 49 | Track and field. |
TraditionalStrengthTraining | 50 | Traditional strength training. |
Volleyball | 51 | Volleyball. |
Walking | 52 | Walking. |
WaterFitness | 53 | Water fitness. |
WaterPolo | 54 | Water polo. |
WaterSports | 55 | Water sports. |
WheelchairRunPace | 71 | |
WheelchairWalkPace | 70 | |
Wrestling | 56 | Wrestling. |
Yoga | 57 | Yoga. |