HiHealthActivities class abstract
Defines different types of activity that a user is performing.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
getMimeType(
String activity) → String
Constants
- aerobics → const String
- The user is doing an aerobic exercise.
- apneaTest → const String
- The user is having an apnea testing.
- apneaTraining → const String
- The user is having an apnea training.
- archery → const String
- The user is doing archery.
- badminton → const String
- The user is playing badminton.
- ballet → const String
- The user is practising/performing ballet.
- baseball → const String
- The user is playing baseball.
- basketball → const String
- The user is playing basketball.
- beachSoccer → const String
- The user is playing beach soccer.
- beachVolleyball → const String
- The user is playing beach volleyball.
- bellyDance → const String
- The user is practising/performing belly dance.
- biathlon → const String
- The user is doing cross-country skiing and rifle shooting.
- billiards → const String
- The user is playing billiards.
- bmx → const String
- The user is riding a BMX bicycle.
- bodyCombat → const String
- The user is practising BodyCombat.
- bowling → const String
- The user is playing bowling.
- boxing → const String
- The user is boxing.
- bungeeJumping → const String
- The user is doing bungee jumping.
- calisthenics → const String
- The user is doing a calisthenics exercise.
- circuitTraining → const String
- The user is doing a circuit training exercise.
- coreTraining → const String
- The user is having a core strength training.
- cricket → const String
- The user is playing cricket.
- crossCountryRace → const String
- The user is doing cross-country running.
- crossCountrySkiing → const String
- The user is doing cross-country skiing.
- crossFit → const String
- The user is practising crossfit.
- crossfit → const String
- The user is doing a crossfit exercise.
- curling → const String
- The user is playing curling.
- cycling → const String
- The user is cycling.
- cyclingIndoor → const String
- The user is doing indoor cycling.
- dancing → const String
- The user is dancing.
- darts → const String
- The user is throwing darts.
- diving → const String
- The user is diving.
- dodgeBall → const String
- The user is playing dodgeball.
- dragonBoat → const String
- The user is participating in a dragon boat race.
- drifting → const String
- The user is drifting in a river.
- elevator → const String
- The user is taking an elevator.
- elliptical → const String
- The user is using an elliptical machine.
- ergometer → const String
- The user is using an ergometer machine.
- escalator → const String
- The user is taking an escalator.
- EXTRA_ACTION_STATUS → const String
- A string that contains STATUS_ACTION_START and STATUS_ACTION_END as two extra activity states.
- fencing → const String
- The user is fencing.
- fishing → const String
- The user is fishing.
- flyAKite → const String
- The user is flying a kite.
- flyingDisc → const String
- The user is throwing a Frisbee.
- footballAmerican → const String
- The user is playing American football.
- footballAustralian → const String
- The user is playing Australian football.
- footballSoccer → const String
- The user is playing soccer.
- freeDiving → const String
- The user is practising free diving.
- freeSparring → const String
- The user is practising free sparring.
- functionalTraining → const String
- The user is having a functional training session.
- gardening → const String
- The user is gardening.
- gateball → const String
- The user is playing gateball.
- golf → const String
- The user is playing golf.
- groupCalisthenics → const String
- The user is practising group calisthenics.
- gymnastics → const String
- The user is doing gymnastics.
- handball → const String
- The user is playing handball.
- hiit → const String
- The user is doing high intensity interval training (HIIT).
- hiking → const String
- The user is hiking.
- hipHop → const String
- The user is practising/performing hip-hop dance.
- hockey → const String
- The user is playing hockey.
- horizontalBar → const String
- The user is practising on a horizontal bar.
- horseRiding → const String
- The user is riding a horse.
- housework → const String
- The user is doing housework.
- huLaHoop → const String
- The user is practising with a hula hoop.
- hunting → const String
- The user is hunting.
- iceHockey → const String
- The user is playing ice hockey.
- iceSkating → const String
- The user is ice-skating.
- indoorRunning → const String
- The user is running indoors.
- indoorWalk → const String
- The user is walking indoors.
- intervalTraining → const String
- The user is doing an interval training exercise.
- inVehicle → const String
- The user is in a vehicle.
- jazz → const String
- The user is practising/performing Jazz dance.
- jumpingRope → const String
- The user is jumping rope.
- karate → const String
- The user is practising Karate.
- kayaking → const String
- The user is kayaking.
- kendo → const String
- The user is practising Kendo.
- kettlebellTraining → const String
- The user is training with a kettlebell.
- kickboxing → const String
- The user is practising kickboxing.
- kitesurfing → const String
- The user is kite-surfing.
- latin → const String
- The user is practising/performing Latin dance.
- martialArts → const String
- The user is practising martial arts.
- meditation → const String
- The user is meditating.
- MIME_TYPE_PREFIX → const String
- General prefix of the MIME type as the activity state.
- mixedMartialArts → const String
- The user is practising mixed martial arts.
- motorboat → const String
- The user is riding a motorboat.
- mountainClimbing → const String
- The user is participating in mountaineering.
- obstacleRace → const String
- The user is doing an obstacle race.
- onFoot → const String
- The user is on foot.
- orienteering → const String
- The user is participating in orienteering.
- other → const String
- The user is doing some other activity.
- p90x → const String
- The user is doing a P90X exercise.
- parachute → const String
- The user is performing parachuting.
- paragliding → const String
- The user is paragliding.
- parallelBars → const String
- The user is practising on parallel bars.
- parkour → const String
- The user is playing parkour.
- physicalTraining → const String
- The user is having a physical training session.
- pilates → const String
- The user is doing a Pilates exercise.
- polo → const String
- The user is playing polo.
- racingCar → const String
- The user is participating in a car race.
- racquetball → const String
- The user is playing racquetball.
- rockClimbing → const String
- The user is rock climbing.
- rollerSkating → const String
- The user is roller skating.
- rowing → const String
- The user is rowing.
- rowingMachine → const String
- The user is using a rowing machine.
- rugby → const String
- The user is playing rugby.
- running → const String
- The user is running.
- runningmachine → const String
- The user is running on a treadmill.
- sailing → const String
- The user is sailing.
- scooterRiding → const String
- The user is riding a scooter.
- scubaDiving → const String
- The user is scuba diving.
- sepaktakraw → const String
- The user is playing Sepak Takraw.
- shuttlecock → const String
- The user is playing shuttlecock.
- skateboarding → const String
- The user is skateboarding.
- skating → const String
- The user is skating.
- skiing → const String
- The user is skiing.
- sled → const String
- The user is sledding.
- sledding → const String
- The user is sledding.
- sleep → const String
- The user is sleeping.
- snowboarding → const String
- The user is snowboarding.
- snowmobile → const String
- The user is riding a snow mobile.
- snowshoeing → const String
- The user is walking in snowshoes.
- softball → const String
- The user is playing softball.
- spinning → const String
- The user is practising using a spinning bike.
- squareDance → const String
- The user is square dancing.
- squash → const String
- The user is playing squash.
- stairClimbing → const String
- The user is climbing stairs.
- stairClimbingMachine → const String
- The user is using a stair-climbing machine.
- standupPaddleboarding → const String
- The user is on a stand-up paddle board.
- STATUS_ACTION_END → const String
- Indicates that the activity has ended.
- STATUS_ACTION_START → const String
- Indicates that the activity has started.
- still → const String
- The user is still.
- strengthTraining → const String
- The user is strength training.
- strollMachine → const String
- The user is practising using a spacewalk machine.
- sup → const String
- The user is doing standup paddleboarding.
- surfing → const String
- The user is surfing.
- swimming → const String
- The user is swimming.
- swimmingOpenWater → const String
- The user is swimming in open waters.
- swimmingPool → const String
- The user is swimming in a swimming pool.
- swing → const String
- The user is playing on a swing.
- tableTennis → const String
- The user is playing table tennis.
- taiChi → const String
- The user is practising Tai chi.
- teamSports → const String
- The user is playing a team sport.
- tennis → const String
- The user is playing tennis.
- tilting → const String
- The user is tilting the phone.
- treadmill → const String
- The user is practising using a stair stepper.
- triathlons → const String
- The user is participating in triathlon.
- tugOfWar → const String
- The user is playing tug of war.
-
typeActivityMap
→ const Map<
int, String> - unknown → const String
- The user is performing an unknown activity (that can't be identified).
- volleyball → const String
- The user is playing volleyball.
- wakeboarding → const String
- The user is wakeboarding (being pulled by a motorboat).
- walking → const String
- The user is walking.
- waterPolo → const String
- The user is playing water polo.
- weightlifting → const String
- The user is weightlifting.
- wheelchair → const String
- The user is in a wheelchair.
- windsurfing → const String
- The user is windsurfing.
- yoga → const String
- The user is doing Yoga.
- zumba → const String
- The user is doing Zumba (a kind of fitness dance).