Enumeration

HKWorkoutActivityType

The type of activity performed during a workout.

Topics

Constants

case americanFootball

The constant for playing American football.

case archery

The constant for shooting archery.

case australianFootball

The constant for playing Australian football.

case badminton

The constant for playing badminton.

case baseball

The constant for playing baseball.

case basketball

The constant for playing basketball.

case bowling

The constant for bowling

case boxing

The constant for boxing, including kickboxing and related activities.

case climbing

The constant for climbing.

case cricket

The constant for playing cricket.

case crossTraining

The constant for exercise that includes any mixture of cardio, strength, and/or flexibility training.

case curling

The constant for curling.

case cycling

The constant for cycling.

case dance

The constant for dancing.

case danceInspiredTraining

The constant for workouts inspired by dance, including Pilates, Barre, and Feldenkrais.

Deprecated
case elliptical

The constant for workouts on an elliptical machine.

case equestrianSports

The constant for activities that involve riding a horse, including polo, horse racing, and horse riding.

case fencing

The constant for fencing.

case fishing

The constant for fishing.

case functionalStrengthTraining

The constant for strength training, primarily with free weights and body weight.

case golf

The constant for playing golf.

case gymnastics

Performing gymnastics.

case handball

Playing handball.

case hiking

The constant for hiking.

case hockey

The constant for playing hockey, including ice hockey, field hockey, and related sports.

case hunting

The constant for hunting.

case lacrosse

The constant for playing lacrosse.

case martialArts

The constant for practicing martial arts.

case mindAndBody

The constant for performing activities like tai chi or meditation.

case mixedMetabolicCardioTraining

The constant for performing any mix of cardio-focused exercises.

Deprecated
case paddleSports

The constant for canoeing, kayaking, paddling an outrigger, paddling a stand-up paddle board, and related sports.

case play

The constant for play-based activities like tag, dodge ball, hopscotch, tetherball, and playing on a jungle gym.

case preparationAndRecovery

The constant for warm-up, cool down, and therapeutic activities like foam rolling and stretching.

case racquetball

The constant for playing racquetball.

case rowing

The constant for rowing.

case rugby

The constant for playing rugby.

case running

The constant for running and jogging.

case sailing

The constant for sailing.

case skatingSports

The constant for skating activities, including ice skating, speed skating, inline skating, and skateboarding.

case snowSports

The constant for a variety of snow sports, including skiing, snowboarding, and cross-country skiing.

case soccer

The constant for playing soccer.

case softball

The constant for playing softball.

case squash

The constant for playing squash.

case stairClimbing

The constant for climbing stairs.

case surfingSports

The constant for a variety of surf sports, including surfing, kite surfing, and wind surfing.

case swimming

The constant for swimming.

case tableTennis

The constant for playing table tennis.

case tennis

The constant for playing tennis.

case trackAndField

Participating in track and field events, including shot put, javelin, pole vaulting, and related sports.

case traditionalStrengthTraining

The constant for strength training exercises primarily using machines or free weights.

case volleyball

The constant for playing volleyball.

case walking

The constant for walking.

case waterFitness

The constant for aerobic exercise performed in shallow water.

case waterPolo

The constant for playing water polo.

case waterSports

The constant for a variety of water sports, including water skiing, wake boarding, and related activities.

case wrestling

The constant for wrestling.

case yoga

The constant for practicing yoga.

case other

The constant for a workout that does not match any of the other workout activity types.

case barre

The constant for barre workout.

case coreTraining

The constant for core training.

case crossCountrySkiing

The constant for cross country skiing.

case downhillSkiing

The constant for downhill skiing.

case flexibility

The constant for a flexibility workout.

case highIntensityIntervalTraining

The constant for high intensity interval training.

case jumpRope

The constant for jumping rope.

case kickboxing

The constant for kickboxing.

case pilates

The constant for a pilates workout.

case snowboarding

The constant for snowboarding.

case stairs

The constant for working out on stairs.

case stepTraining

The constant for step training.

case wheelchairWalkPace

The constant for a wheelchair workout at walking pace.

case wheelchairRunPace

The constant for wheelchair workout at running pace.

Enumeration Cases

See Also

Workout Constants

enum HKWorkoutSessionLocationType

A constant indicating whether the workout session takes place indoors or outdoors.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software