ExerciseType


class ExerciseType


Exercise type used to configure sensors and algorithms.

Summary

Public companion functions

ExerciseType
fromId(id: Int)

Returns the ExerciseType based on its unique id.

Public companion properties

ExerciseType
ExerciseType
ExerciseType
ExerciseType
ExerciseType
ExerciseType
ExerciseType
ExerciseType
ExerciseType
ExerciseType
ExerciseType
ExerciseType
ExerciseType
ExerciseType

Calisthenics (E.g., push ups, sit ups, pull-ups, jumping jacks).

ExerciseType
ExerciseType
ExerciseType
ExerciseType
ExerciseType
ExerciseType
ExerciseType
ExerciseType
ExerciseType
ExerciseType
ExerciseType
ExerciseType
ExerciseType
ExerciseType
ExerciseType
ExerciseType
ExerciseType
ExerciseType
ExerciseType
ExerciseType
ExerciseType
ExerciseType
ExerciseType
ExerciseType
ExerciseType
ExerciseType
ExerciseType
ExerciseType
ExerciseType
ExerciseType
ExerciseType
ExerciseType
ExerciseType
ExerciseType
ExerciseType
ExerciseType
ExerciseType
ExerciseType
ExerciseType
ExerciseType
ExerciseType
ExerciseType
ExerciseType
ExerciseType
ExerciseType
ExerciseType
ExerciseType
ExerciseType
ExerciseType
ExerciseType
ExerciseType
ExerciseType
ExerciseType
ExerciseType
ExerciseType
ExerciseType
ExerciseType
ExerciseType
ExerciseType
ExerciseType
ExerciseType
ExerciseType
ExerciseType

The current exercise type of the user is unknown or not set.

ExerciseType
ExerciseType
ExerciseType
ExerciseType
ExerciseType
ExerciseType
ExerciseType
ExerciseType

Public functions

open operator Boolean
equals(other: Any?)
open Int
open String

Public properties

Int

Returns a unique identifier of for the ExerciseType, as an int.

String

Returns a human readable name to represent this ExerciseType.

Public companion functions

fromId

Added in 1.0.0
fun fromId(id: Int): ExerciseType

Returns the ExerciseType based on its unique id.

If the id doesn't map to an particular ExerciseType, then ExerciseType.UNKNOWN is returned by default.

Public companion properties

ALPINE_SKIING

val ALPINE_SKIINGExerciseType

BACKPACKING

val BACKPACKINGExerciseType

BACK_EXTENSION

val BACK_EXTENSIONExerciseType

BADMINTON

val BADMINTONExerciseType

BARBELL_SHOULDER_PRESS

val BARBELL_SHOULDER_PRESSExerciseType

BASEBALL

val BASEBALLExerciseType

BASKETBALL

val BASKETBALLExerciseType

BENCH_PRESS

val BENCH_PRESSExerciseType

BIKING

val BIKINGExerciseType

BIKING_STATIONARY

val BIKING_STATIONARYExerciseType

BOOT_CAMP

val BOOT_CAMPExerciseType

BOXING

val BOXINGExerciseType

BURPEE

val BURPEEExerciseType

CALISTHENICS

val CALISTHENICSExerciseType

Calisthenics (E.g., push ups, sit ups, pull-ups, jumping jacks).

CRICKET

val CRICKETExerciseType

CROSS_COUNTRY_SKIING

val CROSS_COUNTRY_SKIINGExerciseType

CRUNCH

val CRUNCHExerciseType

DANCING

val DANCINGExerciseType

DEADLIFT

val DEADLIFTExerciseType

ELLIPTICAL

val ELLIPTICALExerciseType

EXERCISE_CLASS

val EXERCISE_CLASSExerciseType

FENCING

val FENCINGExerciseType

FOOTBALL_AMERICAN

val FOOTBALL_AMERICANExerciseType

FOOTBALL_AUSTRALIAN

val FOOTBALL_AUSTRALIANExerciseType

FORWARD_TWIST

val FORWARD_TWISTExerciseType

FRISBEE_DISC

val FRISBEE_DISCExerciseType

GOLF

val GOLFExerciseType

GUIDED_BREATHING

val GUIDED_BREATHINGExerciseType

GYMNASTICS

val GYMNASTICSExerciseType

HANDBALL

val HANDBALLExerciseType

HIGH_INTENSITY_INTERVAL_TRAINING

val HIGH_INTENSITY_INTERVAL_TRAININGExerciseType

HIKING

val HIKINGExerciseType

HORSE_RIDING

val HORSE_RIDINGExerciseType

ICE_HOCKEY

val ICE_HOCKEYExerciseType

ICE_SKATING

val ICE_SKATINGExerciseType

INLINE_SKATING

val INLINE_SKATINGExerciseType

JUMPING_JACK

val JUMPING_JACKExerciseType

JUMP_ROPE

val JUMP_ROPEExerciseType

LAT_PULL_DOWN

val LAT_PULL_DOWNExerciseType

LUNGE

val LUNGEExerciseType

MARTIAL_ARTS

val MARTIAL_ARTSExerciseType

MEDITATION

val MEDITATIONExerciseType

MOUNTAIN_BIKING

val MOUNTAIN_BIKINGExerciseType

ORIENTEERING

val ORIENTEERINGExerciseType

PADDLING

val PADDLINGExerciseType

PARA_GLIDING

val PARA_GLIDINGExerciseType

PILATES

val PILATESExerciseType

PLANK

val PLANKExerciseType

RACQUETBALL

val RACQUETBALLExerciseType

ROCK_CLIMBING

val ROCK_CLIMBINGExerciseType

ROLLER_HOCKEY

val ROLLER_HOCKEYExerciseType

ROLLER_SKATING

val ROLLER_SKATINGExerciseType

ROWING

val ROWINGExerciseType

ROWING_MACHINE

val ROWING_MACHINEExerciseType

RUGBY

val RUGBYExerciseType

RUNNING

val RUNNINGExerciseType

RUNNING_TREADMILL

val RUNNING_TREADMILLExerciseType

SAILING

val SAILINGExerciseType

SCUBA_DIVING

val SCUBA_DIVINGExerciseType

SKATING

val SKATINGExerciseType

SKIING

val SKIINGExerciseType

SNOWBOARDING

val SNOWBOARDINGExerciseType

SNOWSHOEING

val SNOWSHOEINGExerciseType

SOCCER

val SOCCERExerciseType

SOFTBALL

val SOFTBALLExerciseType

SQUASH

val SQUASHExerciseType

SQUAT

val SQUATExerciseType

STAIR_CLIMBING

val STAIR_CLIMBINGExerciseType

STAIR_CLIMBING_MACHINE

val STAIR_CLIMBING_MACHINEExerciseType

STRENGTH_TRAINING

val STRENGTH_TRAININGExerciseType

STRETCHING

val STRETCHINGExerciseType

SURFING

val SURFINGExerciseType

SWIMMING_OPEN_WATER

val SWIMMING_OPEN_WATERExerciseType

SWIMMING_POOL

val SWIMMING_POOLExerciseType

TABLE_TENNIS

val TABLE_TENNISExerciseType

TENNIS

val TENNISExerciseType

UNKNOWN

val UNKNOWNExerciseType

The current exercise type of the user is unknown or not set.

UPPER_TWIST

val UPPER_TWISTExerciseType

VOLLEYBALL

val VOLLEYBALLExerciseType

WALKING

val WALKINGExerciseType

WATER_POLO

val WATER_POLOExerciseType

WEIGHTLIFTING

val WEIGHTLIFTINGExerciseType

WORKOUT

val WORKOUTExerciseType

YACHTING

val YACHTINGExerciseType

YOGA

val YOGAExerciseType

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

id

Added in 1.0.0
val idInt

Returns a unique identifier of for the ExerciseType, as an int.

name

Added in 1.0.0
val nameString

Returns a human readable name to represent this ExerciseType.