ExerciseType
class ExerciseType
Exercise type used to configure sensors and algorithms.
Summary
Public companion functions |
|
|---|---|
ExerciseType |
Returns the |
Public properties |
|
|---|---|
Int |
Returns a unique identifier of for the |
String |
Returns a human readable name to represent this |
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
CALISTHENICS
val CALISTHENICS: ExerciseType
Calisthenics (E.g., push ups, sit ups, pull-ups, jumping jacks).