Enumeration

HKWorkoutActivityType

The type of activity performed during a workout.

Declaration

typedef enum HKWorkoutActivityType : NSUInteger {
    ...
} HKWorkoutActivityType;

Topics

Individual Sports

HKWorkoutActivityTypeArchery

The constant for shooting archery.

HKWorkoutActivityTypeBowling

The constant for bowling

HKWorkoutActivityTypeFencing

The constant for fencing.

HKWorkoutActivityTypeGymnastics

Performing gymnastics.

HKWorkoutActivityTypeTrackAndField

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

Team Sports

HKWorkoutActivityTypeAmericanFootball

The constant for playing American football.

HKWorkoutActivityTypeAustralianFootball

The constant for playing Australian football.

HKWorkoutActivityTypeBaseball

The constant for playing baseball.

HKWorkoutActivityTypeBasketball

The constant for playing basketball.

HKWorkoutActivityTypeCricket

The constant for playing cricket.

HKWorkoutActivityTypeHandball

The constant for playing handball.

HKWorkoutActivityTypeHockey

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

HKWorkoutActivityTypeLacrosse

The constant for playing lacrosse.

HKWorkoutActivityTypeRugby

The constant for playing rugby.

HKWorkoutActivityTypeSoccer

The constant for playing soccer.

HKWorkoutActivityTypeSoftball

The constant for playing softball.

HKWorkoutActivityTypeVolleyball

The constant for playing volleyball.

Exercise and Fitness

HKWorkoutActivityTypePreparationAndRecovery

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

HKWorkoutActivityTypeFlexibility

The constant for a flexibility workout.

HKWorkoutActivityTypeWalking

The constant for walking.

HKWorkoutActivityTypeRunning

The constant for running and jogging.

HKWorkoutActivityTypeWheelchairWalkPace

The constant for a wheelchair workout at walking pace.

HKWorkoutActivityTypeWheelchairRunPace

The constant for wheelchair workout at running pace.

HKWorkoutActivityTypeCycling

The constant for cycling.

HKWorkoutActivityTypeHandCycling

The constant for hand cycling.

HKWorkoutActivityTypeCoreTraining

The constant for core training.

HKWorkoutActivityTypeElliptical

The constant for workouts on an elliptical machine.

HKWorkoutActivityTypeFunctionalStrengthTraining

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

HKWorkoutActivityTypeTraditionalStrengthTraining

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

HKWorkoutActivityTypeCrossTraining

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

HKWorkoutActivityTypeMixedCardio

The constant for workouts that mix a variety of cardio exercise machines or modalities.

HKWorkoutActivityTypeHighIntensityIntervalTraining

The constant for high intensity interval training.

HKWorkoutActivityTypeJumpRope

The constant for jumping rope.

HKWorkoutActivityTypeStairClimbing

The constant for workouts using a stair climbing machine.

HKWorkoutActivityTypeStairs

The constant for running, walking, or other drills using stairs (for example, in a stadium or inside a multilevel building)

HKWorkoutActivityTypeStepTraining

The constant for training using a step bench.

Studio Activities

HKWorkoutActivityTypeBarre

The constant for barre workout.

HKWorkoutActivityTypeDance

The constant for dancing.

HKWorkoutActivityTypeYoga

The constant for practicing yoga.

HKWorkoutActivityTypeMindAndBody

The constant for performing activities like Qigong or meditation.

HKWorkoutActivityTypePilates

The constant for a pilates workout.

Racket Sports

HKWorkoutActivityTypeBadminton

The constant for playing badminton.

HKWorkoutActivityTypeRacquetball

The constant for playing racquetball.

HKWorkoutActivityTypeSquash

The constant for playing squash.

HKWorkoutActivityTypeTableTennis

The constant for playing table tennis.

HKWorkoutActivityTypeTennis

The constant for playing tennis.

Outdoor Activities

HKWorkoutActivityTypeClimbing

The constant for climbing.

HKWorkoutActivityTypeEquestrianSports

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

HKWorkoutActivityTypeFishing

The constant for fishing.

HKWorkoutActivityTypeGolf

The constant for playing golf.

HKWorkoutActivityTypeHiking

The constant for hiking.

HKWorkoutActivityTypeHunting

The constant for hunting.

HKWorkoutActivityTypePlay

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

Snow and Ice Sports

HKWorkoutActivityTypeCrossCountrySkiing

The constant for cross country skiing.

HKWorkoutActivityTypeCurling

The constant for curling.

HKWorkoutActivityTypeDownhillSkiing

The constant for downhill skiing.

HKWorkoutActivityTypeSnowSports

The constant for a variety of snow sports, including sledding, snowmobiling, or building a snowman.

HKWorkoutActivityTypeSnowboarding

The constant for snowboarding.

HKWorkoutActivityTypeSkatingSports

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

Water Activities

HKWorkoutActivityTypePaddleSports

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

HKWorkoutActivityTypeRowing

The constant for rowing.

HKWorkoutActivityTypeSailing

The constant for sailing.

HKWorkoutActivityTypeSurfingSports

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

HKWorkoutActivityTypeSwimming

The constant for swimming.

HKWorkoutActivityTypeWaterFitness

The constant for aerobic exercise performed in shallow water.

HKWorkoutActivityTypeWaterPolo

The constant for playing water polo.

HKWorkoutActivityTypeWaterSports

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

Martial Arts

HKWorkoutActivityTypeBoxing

The constant for boxing.

HKWorkoutActivityTypeKickboxing

The constant for kickboxing.

HKWorkoutActivityTypeMartialArts

The constant for practicing martial arts.

HKWorkoutActivityTypeTaiChi

The constant for tai chi.

HKWorkoutActivityTypeWrestling

The constant for wrestling.

Other Activities

HKWorkoutActivityTypeOther

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

Deprecated Activity Types

HKWorkoutActivityTypeDanceInspiredTraining

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

Deprecated
HKWorkoutActivityTypeMixedMetabolicCardioTraining

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

Deprecated

See Also

Samples

Using Workout Samples

Record a physical activity using workout samples.

HKWorkout

A workout sample stores information about a single physical activity.

HKWorkoutType

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

HKWorkoutTypeIdentifier

The workout type identifier.

HKWorkoutEvent

An object representing an important event during a workout.