public class

FitnessActivities

extends Object
java.lang.Object
   ↳ com.google.android.gms.fitness.FitnessActivities

Class Overview

Constants representing different user activities. A subset of these activities can be detected by Activity Recognition. These are listed in DetectedActivity.

A Session associates an activity with all data that was recorded during a time interval, such as heart rate samples taken while the user was doing aerobics or wheel RPM measured while biking.

Activities may also be expressed in the activity sample and activity segment data types.

Summary

Constants
int AEROBICS The user is performing aerobic exercises.
String AEROBICS_STRING
int BADMINTON The user is playing badminton.
String BADMINTON_STRING
int BASEBALL The user is playing baseball.
String BASEBALL_STRING
int BASKETBALL The user is playing basketball.
String BASKETBALL_STRING
int BIATHLON The user is practicing biathlon (combination of cross-country skiing and rifle shooting).
String BIATHLON_STRING
int BIKING The user is on a bicycle.
int BIKING_HAND The user is handcycling (or handbiking).
String BIKING_HAND_STRING
int BIKING_MOUNTAIN The user is mountain biking.
String BIKING_MOUNTAIN_STRING
int BIKING_ROAD The user is cycling on a road or other smooth surface.
String BIKING_ROAD_STRING
int BIKING_SPINNING The user is indoor cycling (spinning) on a specialized stationary bike.
String BIKING_SPINNING_STRING
int BIKING_STATIONARY The user is cycling on a stationary bike.
String BIKING_STATIONARY_STRING
String BIKING_STRING
int BIKING_UTILITY The user is cycling as a means of transport.
String BIKING_UTILITY_STRING
int BOXING The user is boxing.
String BOXING_STRING
int CALISTHENICS The user is performing calisthenics exercises.
String CALISTHENICS_STRING
int CIRCUIT_TRAINING The user is performing circuit training exercises.
String CIRCUIT_TRAINING_STRING
int CRICKET The user is playing cricket.
String CRICKET_STRING
int CURLING The user is practicing curling.
String CURLING_STRING
int DANCING The user is dancing.
String DANCING_STRING
int DIVING The user is diving into water, from a platform or spring board.
String DIVING_STRING
int ELLIPTICAL The user is using an elliptical trainer or cross-trainer machine.
String ELLIPTICAL_STRING
int ERGOMETER The user is using an ergometer machine.
String ERGOMETER_STRING
String EXITING_VEHICLE_STRING
int FENCING The user is fencing.
String FENCING_STRING
int FOOTBALL_AMERICAN The user is playing American football (known as football in the United States).
String FOOTBALL_AMERICAN_STRING
int FOOTBALL_AUSTRALIAN The user is playing Australian-rules football.
String FOOTBALL_AUSTRALIAN_STRING
int FOOTBALL_SOCCER The user is playing association football (known as soccer in the United States).
String FOOTBALL_SOCCER_STRING
int FRISBEE_DISC The user is playing with a Frisbee disc.
String FRISBEE_DISC_STRING
int GARDENING The user is gardening.
String GARDENING_STRING
int GOLF The user is playing golf.
String GOLF_STRING
int GYMNASTICS The user is practicing gymnastics.
String GYMNASTICS_STRING
int HANDBALL The user is playing handball.
String HANDBALL_STRING
int HIKING The user is hiking.
String HIKING_STRING
int HOCKEY The user is playing hockey.
String HOCKEY_STRING
int HORSEBACK_RIDING The user is horseback riding.
String HORSEBACK_RIDING_STRING
int HOUSEWORK The user is doing house work.
String HOUSEWORK_STRING
int ICE_SKATING The user is ice-skating.
String ICE_SKATING_STRING
int IN_VEHICLE The user is in a vehicle, such as a car.
String IN_VEHICLE_STRING
int JUMP_ROPE The user is jumping rope.
String JUMP_ROPE_STRING
int KAYAKING The user is kayaking.
String KAYAKING_STRING
int KETTLEBELL_TRAINING The user is training with a kettlebell.
String KETTLEBELL_TRAINING_STRING
int KICKBOXING The user is kickboxing.
String KICKBOXING_STRING
int KICK_SCOOTER The user is riding a kick scooter.
String KICK_SCOOTER_STRING
int KITESURFING The user is kite-surfing.
String KITESURFING_STRING
int MARTIAL_ARTS The user is practicing martial arts.
String MARTIAL_ARTS_STRING
int MEDITATION The user is meditating.
String MEDITATION_STRING
int MIXED_MARTIAL_ARTS The user is practicing mixed martial arts (MMA).
String MIXED_MARTIAL_ARTS_STRING
int ON_FOOT The user is on foot, walking or running.
String ON_FOOT_STRING
int OTHER The user is performing a generic fitness activity, which isn't classified.
String OTHER_STRING
int P90X The user is performing P90X exercises.
String P90X_STRING
int PARAGLIDING The user is paragliding.
String PARAGLIDING_STRING
int PILATES The user is performing pilates exercises.
String PILATES_STRING
int POLO The user is playing polo (team sport on horseback).
String POLO_STRING
int RACQUETBALL The user is playing racquetball.
String RACQUETBALL_STRING
int ROCK_CLIMBING The user is rock climbing.
String ROCK_CLIMBING_STRING
int ROWING The user is rowing.
int ROWING_MACHINE The user is using a rowing machine.
String ROWING_MACHINE_STRING
String ROWING_STRING
int RUGBY The user is playing rugby.
String RUGBY_STRING
int RUNNING The user is running.
int RUNNING_JOGGING The user is jogging.
String RUNNING_JOGGING_STRING
int RUNNING_SAND The user is running on sand.
String RUNNING_SAND_STRING
String RUNNING_STRING
int RUNNING_TREADMILL The user is running on a treadmill.
String RUNNING_TREADMILL_STRING
int SAILING The user is sailing.
String SAILING_STRING
int SCUBA_DIVING The user is scuba diving.
String SCUBA_DIVING_STRING
int SKATEBOARDING The user is skateboarding.
String SKATEBOARDING_STRING
int SKATING The user is skating.
int SKATING_CROSS The user is cross skating.
String SKATING_CROSS_STRING
int SKATING_INDOOR The user is skating in-doors.
String SKATING_INDOOR_STRING
int SKATING_INLINE The user is inline skating (roller-blading).
String SKATING_INLINE_STRING
String SKATING_STRING
int SKIING The user is skiing.
int SKIING_BACK_COUNTRY The user is back-country skiing.
String SKIING_BACK_COUNTRY_STRING
int SKIING_CROSS_COUNTRY The user is cross-country skiing.
String SKIING_CROSS_COUNTRY_STRING
int SKIING_DOWNHILL The user is downhill skiing.
String SKIING_DOWNHILL_STRING
int SKIING_KITE The user is kite skiing.
String SKIING_KITE_STRING
int SKIING_ROLLER The user is roller skiing (non-snow).
String SKIING_ROLLER_STRING
String SKIING_STRING
int SLEDDING The user is sledding.
String SLEDDING_STRING
int SLEEP The user is sleeping.
String SLEEP_STRING
int SNOWBOARDING The user is snowboarding.
String SNOWBOARDING_STRING
int SNOWMOBILE The user is on a snow mobile.
String SNOWMOBILE_STRING
int SNOWSHOEING The user is snow-shoeing.
String SNOWSHOEING_STRING
int SQUASH The user is playing Squash.
String SQUASH_STRING
int STAIR_CLIMBING The user is climbing stairs.
int STAIR_CLIMBING_MACHINE The user is using a stair-climbing machine.
String STAIR_CLIMBING_MACHINE_STRING
String STAIR_CLIMBING_STRING
int STANDUP_PADDLEBOARDING The user is on a stand-up paddle board.
String STANDUP_PADDLEBOARDING_STRING
int STILL The user is still (not moving).
String STILL_STRING
int STRENGTH_TRAINING The user is strength training.
String STRENGTH_TRAINING_STRING
int SURFING The user is surfing.
String SURFING_STRING
int SWIMMING The user is swimming.
int SWIMMING_OPEN_WATER The user is swimming in open waters.
String SWIMMING_OPEN_WATER_STRING
int SWIMMING_POOL The user is swimming in a swimming pool.
String SWIMMING_POOL_STRING
String SWIMMING_STRING
int TABLE_TENNIS The user is playing table tennis (or ping-pong).
String TABLE_TENNIS_STRING
int TEAM_SPORTS The user is playing a team sport.
String TEAM_SPORTS_STRING
int TENNIS The user is playing tennis.
String TENNIS_STRING
int TILTING The device angle relative to gravity changed significantly.
String TILTING_STRING
int TREADMILL The user is on a treadmill (either walking or running).
String TREADMILL_STRING
int UNKNOWN Unable to detect the current activity.
String UNKNOWN_STRING
int VOLLEYBALL The user is playing volleyball.
int VOLLEYBALL_BEACH The user is playing beach volleyball.
String VOLLEYBALL_BEACH_STRING
int VOLLEYBALL_INDOOR The user is playing indoor volleyball.
String VOLLEYBALL_INDOOR_STRING
String VOLLEYBALL_STRING
int WAKEBOARDING The user is wake boarding.
String WAKEBOARDING_STRING
int WALKING The user is walking.
int WALKING_FITNESS The user is walking at a moderate to high pace, for fitness.
String WALKING_FITNESS_STRING
int WALKING_NORDIC The user is performing Nordic walking (with poles).
String WALKING_NORDIC_STRING
String WALKING_STRING
int WALKING_TREADMILL The user is walking on a treadmill
String WALKING_TREADMILL_STRING
int WATER_POLO The user is playing water polo.
String WATER_POLO_STRING
int WEIGHTLIFTING The user is weight lifting.
String WEIGHTLIFTING_STRING
int WHEELCHAIR The user is on a wheel chair.
String WHEELCHAIR_STRING
int WINDSURFING The user is wind surfing.
String WINDSURFING_STRING
int YOGA The user is performing Yoga poses.
String YOGA_STRING
int ZUMBA The users is performing Zumba exercises.
String ZUMBA_STRING
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int AEROBICS

The user is performing aerobic exercises.

Constant Value: 9 (0x00000009)

public static final String AEROBICS_STRING

Constant Value: "aerobics"

public static final int BADMINTON

The user is playing badminton.

Constant Value: 10 (0x0000000a)

public static final String BADMINTON_STRING

Constant Value: "badminton"

public static final int BASEBALL

The user is playing baseball.

Constant Value: 11 (0x0000000b)

public static final String BASEBALL_STRING

Constant Value: "baseball"

public static final int BASKETBALL

The user is playing basketball.

Constant Value: 12 (0x0000000c)

public static final String BASKETBALL_STRING

Constant Value: "basketball"

public static final int BIATHLON

The user is practicing biathlon (combination of cross-country skiing and rifle shooting).

Constant Value: 13 (0x0000000d)

public static final String BIATHLON_STRING

Constant Value: "biathlon"

public static final int BIKING

The user is on a bicycle.

Constant Value: 1 (0x00000001)

public static final int BIKING_HAND

The user is handcycling (or handbiking).

Constant Value: 14 (0x0000000e)

public static final String BIKING_HAND_STRING

Constant Value: "biking.hand"

public static final int BIKING_MOUNTAIN

The user is mountain biking.

Constant Value: 15 (0x0000000f)

public static final String BIKING_MOUNTAIN_STRING

Constant Value: "biking.mountain"

public static final int BIKING_ROAD

The user is cycling on a road or other smooth surface.

Constant Value: 16 (0x00000010)

public static final String BIKING_ROAD_STRING

Constant Value: "biking.road"

public static final int BIKING_SPINNING

The user is indoor cycling (spinning) on a specialized stationary bike.

Constant Value: 17 (0x00000011)

public static final String BIKING_SPINNING_STRING

Constant Value: "biking.spinning"

public static final int BIKING_STATIONARY

The user is cycling on a stationary bike.

Constant Value: 18 (0x00000012)

public static final String BIKING_STATIONARY_STRING

Constant Value: "biking.stationary"

public static final String BIKING_STRING

Constant Value: "biking"

public static final int BIKING_UTILITY

The user is cycling as a means of transport.

Constant Value: 19 (0x00000013)

public static final String BIKING_UTILITY_STRING

Constant Value: "biking.utility"

public static final int BOXING

The user is boxing.

Constant Value: 20 (0x00000014)

public static final String BOXING_STRING

Constant Value: "boxing"

public static final int CALISTHENICS

The user is performing calisthenics exercises.

Constant Value: 21 (0x00000015)

public static final String CALISTHENICS_STRING

Constant Value: "calisthenics"

public static final int CIRCUIT_TRAINING

The user is performing circuit training exercises.

Constant Value: 22 (0x00000016)

public static final String CIRCUIT_TRAINING_STRING

Constant Value: "circuit_training"

public static final int CRICKET

The user is playing cricket.

Constant Value: 23 (0x00000017)

public static final String CRICKET_STRING

Constant Value: "cricket"

public static final int CURLING

The user is practicing curling.

Constant Value: 106 (0x0000006a)

public static final String CURLING_STRING

Constant Value: "curling"

public static final int DANCING

The user is dancing.

Constant Value: 24 (0x00000018)

public static final String DANCING_STRING

Constant Value: "dancing"

public static final int DIVING

The user is diving into water, from a platform or spring board.

Constant Value: 102 (0x00000066)

public static final String DIVING_STRING

Constant Value: "diving"

public static final int ELLIPTICAL

The user is using an elliptical trainer or cross-trainer machine.

Constant Value: 25 (0x00000019)

public static final String ELLIPTICAL_STRING

Constant Value: "elliptical"

public static final int ERGOMETER

The user is using an ergometer machine.

Constant Value: 103 (0x00000067)

public static final String ERGOMETER_STRING

Constant Value: "ergometer"

public static final String EXITING_VEHICLE_STRING

Constant Value: "exiting_vehicle"

public static final int FENCING

The user is fencing.

Constant Value: 26 (0x0000001a)

public static final String FENCING_STRING

Constant Value: "fencing"

public static final int FOOTBALL_AMERICAN

The user is playing American football (known as football in the United States).

Constant Value: 27 (0x0000001b)

public static final String FOOTBALL_AMERICAN_STRING

Constant Value: "football.american"

public static final int FOOTBALL_AUSTRALIAN

The user is playing Australian-rules football.

Constant Value: 28 (0x0000001c)

public static final String FOOTBALL_AUSTRALIAN_STRING

Constant Value: "football.australian"

public static final int FOOTBALL_SOCCER

The user is playing association football (known as soccer in the United States).

Constant Value: 29 (0x0000001d)

public static final String FOOTBALL_SOCCER_STRING

Constant Value: "football.soccer"

public static final int FRISBEE_DISC

The user is playing with a Frisbee disc.

Constant Value: 30 (0x0000001e)

public static final String FRISBEE_DISC_STRING

Constant Value: "frisbee_disc"

public static final int GARDENING

The user is gardening.

Constant Value: 31 (0x0000001f)

public static final String GARDENING_STRING

Constant Value: "gardening"

public static final int GOLF

The user is playing golf.

Constant Value: 32 (0x00000020)

public static final String GOLF_STRING

Constant Value: "golf"

public static final int GYMNASTICS

The user is practicing gymnastics.

Constant Value: 33 (0x00000021)

public static final String GYMNASTICS_STRING

Constant Value: "gymnastics"

public static final int HANDBALL

The user is playing handball.

Constant Value: 34 (0x00000022)

public static final String HANDBALL_STRING

Constant Value: "handball"

public static final int HIKING

The user is hiking.

Constant Value: 35 (0x00000023)

public static final String HIKING_STRING

Constant Value: "hiking"

public static final int HOCKEY

The user is playing hockey.

Constant Value: 36 (0x00000024)

public static final String HOCKEY_STRING

Constant Value: "hockey"

public static final int HORSEBACK_RIDING

The user is horseback riding.

Constant Value: 37 (0x00000025)

public static final String HORSEBACK_RIDING_STRING

Constant Value: "horseback_riding"

public static final int HOUSEWORK

The user is doing house work.

Constant Value: 38 (0x00000026)

public static final String HOUSEWORK_STRING

Constant Value: "housework"

public static final int ICE_SKATING

The user is ice-skating.

Constant Value: 104 (0x00000068)

public static final String ICE_SKATING_STRING

Constant Value: "ice_skating"

public static final int IN_VEHICLE

The user is in a vehicle, such as a car.

Constant Value: 0 (0x00000000)

public static final String IN_VEHICLE_STRING

Constant Value: "in_vehicle"

public static final int JUMP_ROPE

The user is jumping rope.

Constant Value: 39 (0x00000027)

public static final String JUMP_ROPE_STRING

Constant Value: "jump_rope"

public static final int KAYAKING

The user is kayaking.

Constant Value: 40 (0x00000028)

public static final String KAYAKING_STRING

Constant Value: "kayaking"

public static final int KETTLEBELL_TRAINING

The user is training with a kettlebell.

Constant Value: 41 (0x00000029)

public static final String KETTLEBELL_TRAINING_STRING

Constant Value: "kettlebell_training"

public static final int KICKBOXING

The user is kickboxing.

Constant Value: 42 (0x0000002a)

public static final String KICKBOXING_STRING

Constant Value: "kickboxing"

public static final int KICK_SCOOTER

The user is riding a kick scooter.

Constant Value: 107 (0x0000006b)

public static final String KICK_SCOOTER_STRING

Constant Value: "kick_scooter"

public static final int KITESURFING

The user is kite-surfing.

Constant Value: 43 (0x0000002b)

public static final String KITESURFING_STRING

Constant Value: "kitesurfing"

public static final int MARTIAL_ARTS

The user is practicing martial arts.

Constant Value: 44 (0x0000002c)

public static final String MARTIAL_ARTS_STRING

Constant Value: "martial_arts"

public static final int MEDITATION

The user is meditating.

Constant Value: 45 (0x0000002d)

public static final String MEDITATION_STRING

Constant Value: "meditation"

public static final int MIXED_MARTIAL_ARTS

The user is practicing mixed martial arts (MMA).

Constant Value: 46 (0x0000002e)

public static final String MIXED_MARTIAL_ARTS_STRING

Constant Value: "martial_arts.mixed"

public static final int ON_FOOT

The user is on foot, walking or running.

Constant Value: 2 (0x00000002)

public static final String ON_FOOT_STRING

Constant Value: "on_foot"

public static final int OTHER

The user is performing a generic fitness activity, which isn't classified.

Unlike unknown, which gives no indication as to what the user is doing, "other" indicates that the user is performing a fitness-related activity.

The "other" activity is most useful to collect user input, for instance when an app wants to give the user the ability to choose an activity that's not part of the regular activity set for the app.

Note that an activity classified as "other" could represent any of the other activities in this activity list, as well as an activity not in this list.

Constant Value: 108 (0x0000006c)

public static final String OTHER_STRING

Constant Value: "other"

public static final int P90X

The user is performing P90X exercises.

Constant Value: 47 (0x0000002f)

public static final String P90X_STRING

Constant Value: "p90x"

public static final int PARAGLIDING

The user is paragliding.

Constant Value: 48 (0x00000030)

public static final String PARAGLIDING_STRING

Constant Value: "paragliding"

public static final int PILATES

The user is performing pilates exercises.

Constant Value: 49 (0x00000031)

public static final String PILATES_STRING

Constant Value: "pilates"

public static final int POLO

The user is playing polo (team sport on horseback).

Constant Value: 50 (0x00000032)

public static final String POLO_STRING

Constant Value: "polo"

public static final int RACQUETBALL

The user is playing racquetball.

Constant Value: 51 (0x00000033)

public static final String RACQUETBALL_STRING

Constant Value: "racquetball"

public static final int ROCK_CLIMBING

The user is rock climbing.

Constant Value: 52 (0x00000034)

public static final String ROCK_CLIMBING_STRING

Constant Value: "rock_climbing"

public static final int ROWING

The user is rowing.

Constant Value: 53 (0x00000035)

public static final int ROWING_MACHINE

The user is using a rowing machine.

Constant Value: 54 (0x00000036)

public static final String ROWING_MACHINE_STRING

Constant Value: "rowing.machine"

public static final String ROWING_STRING

Constant Value: "rowing"

public static final int RUGBY

The user is playing rugby.

Constant Value: 55 (0x00000037)

public static final String RUGBY_STRING

Constant Value: "rugby"

public static final int RUNNING

The user is running.

Constant Value: 8 (0x00000008)

public static final int RUNNING_JOGGING

The user is jogging.

Constant Value: 56 (0x00000038)

public static final String RUNNING_JOGGING_STRING

Constant Value: "running.jogging"

public static final int RUNNING_SAND

The user is running on sand.

Constant Value: 57 (0x00000039)

public static final String RUNNING_SAND_STRING

Constant Value: "running.sand"

public static final String RUNNING_STRING

Constant Value: "running"

public static final int RUNNING_TREADMILL

The user is running on a treadmill.

Constant Value: 58 (0x0000003a)

public static final String RUNNING_TREADMILL_STRING

Constant Value: "running.treadmill"

public static final int SAILING

The user is sailing.

Constant Value: 59 (0x0000003b)

public static final String SAILING_STRING

Constant Value: "sailing"

public static final int SCUBA_DIVING

The user is scuba diving.

Constant Value: 60 (0x0000003c)

public static final String SCUBA_DIVING_STRING

Constant Value: "scuba_diving"

public static final int SKATEBOARDING

The user is skateboarding.

Constant Value: 61 (0x0000003d)

public static final String SKATEBOARDING_STRING

Constant Value: "skateboarding"

public static final int SKATING

The user is skating.

Constant Value: 62 (0x0000003e)

public static final int SKATING_CROSS

The user is cross skating.

Constant Value: 63 (0x0000003f)

public static final String SKATING_CROSS_STRING

Constant Value: "skating.cross"

public static final int SKATING_INDOOR

The user is skating in-doors.

Constant Value: 105 (0x00000069)

public static final String SKATING_INDOOR_STRING

Constant Value: "skating.indoor"

public static final int SKATING_INLINE

The user is inline skating (roller-blading).

Constant Value: 64 (0x00000040)

public static final String SKATING_INLINE_STRING

Constant Value: "skating.inline"

public static final String SKATING_STRING

Constant Value: "skating"

public static final int SKIING

The user is skiing.

Constant Value: 65 (0x00000041)

public static final int SKIING_BACK_COUNTRY

The user is back-country skiing.

Constant Value: 66 (0x00000042)

public static final String SKIING_BACK_COUNTRY_STRING

Constant Value: "skiing.back_country"

public static final int SKIING_CROSS_COUNTRY

The user is cross-country skiing.

Constant Value: 67 (0x00000043)

public static final String SKIING_CROSS_COUNTRY_STRING

Constant Value: "skiing.cross_country"

public static final int SKIING_DOWNHILL

The user is downhill skiing.

Constant Value: 68 (0x00000044)

public static final String SKIING_DOWNHILL_STRING

Constant Value: "skiing.downhill"

public static final int SKIING_KITE

The user is kite skiing.

Constant Value: 69 (0x00000045)

public static final String SKIING_KITE_STRING

Constant Value: "skiing.kite"

public static final int SKIING_ROLLER

The user is roller skiing (non-snow).

Constant Value: 70 (0x00000046)

public static final String SKIING_ROLLER_STRING

Constant Value: "skiing.roller"

public static final String SKIING_STRING

Constant Value: "skiing"

public static final int SLEDDING

The user is sledding.

Constant Value: 71 (0x00000047)

public static final String SLEDDING_STRING

Constant Value: "sledding"

public static final int SLEEP

The user is sleeping.

Constant Value: 72 (0x00000048)

public static final String SLEEP_STRING

Constant Value: "sleep"

public static final int SNOWBOARDING

The user is snowboarding.

Constant Value: 73 (0x00000049)

public static final String SNOWBOARDING_STRING

Constant Value: "snowboarding"

public static final int SNOWMOBILE

The user is on a snow mobile.

Constant Value: 74 (0x0000004a)

public static final String SNOWMOBILE_STRING

Constant Value: "snowmobile"

public static final int SNOWSHOEING

The user is snow-shoeing.

Constant Value: 75 (0x0000004b)

public static final String SNOWSHOEING_STRING

Constant Value: "snowshoeing"

public static final int SQUASH

The user is playing Squash.

Constant Value: 76 (0x0000004c)

public static final String SQUASH_STRING

Constant Value: "squash"

public static final int STAIR_CLIMBING

The user is climbing stairs.

Constant Value: 77 (0x0000004d)

public static final int STAIR_CLIMBING_MACHINE

The user is using a stair-climbing machine.

Constant Value: 78 (0x0000004e)

public static final String STAIR_CLIMBING_MACHINE_STRING

Constant Value: "stair_climbing.machine"

public static final String STAIR_CLIMBING_STRING

Constant Value: "stair_climbing"

public static final int STANDUP_PADDLEBOARDING

The user is on a stand-up paddle board.

Constant Value: 79 (0x0000004f)

public static final String STANDUP_PADDLEBOARDING_STRING

Constant Value: "standup_paddleboarding"

public static final int STILL

The user is still (not moving).

Constant Value: 3 (0x00000003)

public static final String STILL_STRING

Constant Value: "still"

public static final int STRENGTH_TRAINING

The user is strength training.

Constant Value: 80 (0x00000050)

public static final String STRENGTH_TRAINING_STRING

Constant Value: "strength_training"

public static final int SURFING

The user is surfing.

Constant Value: 81 (0x00000051)

public static final String SURFING_STRING

Constant Value: "surfing"

public static final int SWIMMING

The user is swimming.

Constant Value: 82 (0x00000052)

public static final int SWIMMING_OPEN_WATER

The user is swimming in open waters.

Constant Value: 84 (0x00000054)

public static final String SWIMMING_OPEN_WATER_STRING

Constant Value: "swimming.open_water"

public static final int SWIMMING_POOL

The user is swimming in a swimming pool.

Constant Value: 83 (0x00000053)

public static final String SWIMMING_POOL_STRING

Constant Value: "swimming.pool"

public static final String SWIMMING_STRING

Constant Value: "swimming"

public static final int TABLE_TENNIS

The user is playing table tennis (or ping-pong).

Constant Value: 85 (0x00000055)

public static final String TABLE_TENNIS_STRING

Constant Value: "table_tennis"

public static final int TEAM_SPORTS

The user is playing a team sport.

Constant Value: 86 (0x00000056)

public static final String TEAM_SPORTS_STRING

Constant Value: "team_sports"

public static final int TENNIS

The user is playing tennis.

Constant Value: 87 (0x00000057)

public static final String TENNIS_STRING

Constant Value: "tennis"

public static final int TILTING

The device angle relative to gravity changed significantly. This often occurs when a device is picked up from a desk or a user who is sitting stands up.

Constant Value: 5 (0x00000005)

public static final String TILTING_STRING

Constant Value: "tilting"

public static final int TREADMILL

The user is on a treadmill (either walking or running).

Constant Value: 88 (0x00000058)

public static final String TREADMILL_STRING

Constant Value: "treadmill"

public static final int UNKNOWN

Unable to detect the current activity.

Constant Value: 4 (0x00000004)

public static final String UNKNOWN_STRING

Constant Value: "unknown"

public static final int VOLLEYBALL

The user is playing volleyball.

Constant Value: 89 (0x00000059)

public static final int VOLLEYBALL_BEACH

The user is playing beach volleyball.

Constant Value: 90 (0x0000005a)

public static final String VOLLEYBALL_BEACH_STRING

Constant Value: "volleyball.beach"

public static final int VOLLEYBALL_INDOOR

The user is playing indoor volleyball.

Constant Value: 91 (0x0000005b)

public static final String VOLLEYBALL_INDOOR_STRING

Constant Value: "volleyball.indoor"

public static final String VOLLEYBALL_STRING

Constant Value: "volleyball"

public static final int WAKEBOARDING

The user is wake boarding.

Constant Value: 92 (0x0000005c)

public static final String WAKEBOARDING_STRING

Constant Value: "wakeboarding"

public static final int WALKING

The user is walking.

Constant Value: 7 (0x00000007)

public static final int WALKING_FITNESS

The user is walking at a moderate to high pace, for fitness.

Constant Value: 93 (0x0000005d)

public static final String WALKING_FITNESS_STRING

Constant Value: "walking.fitness"

public static final int WALKING_NORDIC

The user is performing Nordic walking (with poles).

Constant Value: 94 (0x0000005e)

public static final String WALKING_NORDIC_STRING

Constant Value: "walking.nordic"

public static final String WALKING_STRING

Constant Value: "walking"

public static final int WALKING_TREADMILL

The user is walking on a treadmill

Constant Value: 95 (0x0000005f)

public static final String WALKING_TREADMILL_STRING

Constant Value: "walking.treadmill"

public static final int WATER_POLO

The user is playing water polo.

Constant Value: 96 (0x00000060)

public static final String WATER_POLO_STRING

Constant Value: "water_polo"

public static final int WEIGHTLIFTING

The user is weight lifting.

Constant Value: 97 (0x00000061)

public static final String WEIGHTLIFTING_STRING

Constant Value: "weightlifting"

public static final int WHEELCHAIR

The user is on a wheel chair.

Constant Value: 98 (0x00000062)

public static final String WHEELCHAIR_STRING

Constant Value: "wheelchair"

public static final int WINDSURFING

The user is wind surfing.

Constant Value: 99 (0x00000063)

public static final String WINDSURFING_STRING

Constant Value: "windsurfing"

public static final int YOGA

The user is performing Yoga poses.

Constant Value: 100 (0x00000064)

public static final String YOGA_STRING

Constant Value: "yoga"

public static final int ZUMBA

The users is performing Zumba exercises.

Constant Value: 101 (0x00000065)

public static final String ZUMBA_STRING

Constant Value: "zumba"