ExerciseType


public final class ExerciseType


Exercise type used to configure sensors and algorithms.

Summary

Public fields

static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType

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

static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType

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

static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType
static final @NonNull ExerciseType

Public methods

boolean
equals(Object other)
static final @NonNull ExerciseType
fromId(int id)

Returns the ExerciseType based on its unique id.

final int

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

final @NonNull String

Returns a human readable name to represent this ExerciseType.

int
@NonNull String

Public fields

ALPINE_SKIING

public static final @NonNull ExerciseType ALPINE_SKIING

BACKPACKING

public static final @NonNull ExerciseType BACKPACKING

BACK_EXTENSION

public static final @NonNull ExerciseType BACK_EXTENSION

BADMINTON

public static final @NonNull ExerciseType BADMINTON

BARBELL_SHOULDER_PRESS

public static final @NonNull ExerciseType BARBELL_SHOULDER_PRESS

BASEBALL

public static final @NonNull ExerciseType BASEBALL

BASKETBALL

public static final @NonNull ExerciseType BASKETBALL

BENCH_PRESS

public static final @NonNull ExerciseType BENCH_PRESS

BIKING

public static final @NonNull ExerciseType BIKING

BIKING_STATIONARY

public static final @NonNull ExerciseType BIKING_STATIONARY

BOOT_CAMP

public static final @NonNull ExerciseType BOOT_CAMP

BOXING

public static final @NonNull ExerciseType BOXING

BURPEE

public static final @NonNull ExerciseType BURPEE

CALISTHENICS

public static final @NonNull ExerciseType CALISTHENICS

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

CRICKET

public static final @NonNull ExerciseType CRICKET

CROSS_COUNTRY_SKIING

public static final @NonNull ExerciseType CROSS_COUNTRY_SKIING

CRUNCH

public static final @NonNull ExerciseType CRUNCH

DANCING

public static final @NonNull ExerciseType DANCING

DEADLIFT

public static final @NonNull ExerciseType DEADLIFT

ELLIPTICAL

public static final @NonNull ExerciseType ELLIPTICAL

EXERCISE_CLASS

public static final @NonNull ExerciseType EXERCISE_CLASS

FENCING

public static final @NonNull ExerciseType FENCING

FOOTBALL_AMERICAN

public static final @NonNull ExerciseType FOOTBALL_AMERICAN

FOOTBALL_AUSTRALIAN

public static final @NonNull ExerciseType FOOTBALL_AUSTRALIAN

FORWARD_TWIST

public static final @NonNull ExerciseType FORWARD_TWIST

FRISBEE_DISC

public static final @NonNull ExerciseType FRISBEE_DISC

GOLF

public static final @NonNull ExerciseType GOLF

GUIDED_BREATHING

public static final @NonNull ExerciseType GUIDED_BREATHING

GYMNASTICS

public static final @NonNull ExerciseType GYMNASTICS

HANDBALL

public static final @NonNull ExerciseType HANDBALL

HIGH_INTENSITY_INTERVAL_TRAINING

public static final @NonNull ExerciseType HIGH_INTENSITY_INTERVAL_TRAINING

HIKING

public static final @NonNull ExerciseType HIKING

HORSE_RIDING

public static final @NonNull ExerciseType HORSE_RIDING

ICE_HOCKEY

public static final @NonNull ExerciseType ICE_HOCKEY

ICE_SKATING

public static final @NonNull ExerciseType ICE_SKATING

INLINE_SKATING

public static final @NonNull ExerciseType INLINE_SKATING

JUMPING_JACK

public static final @NonNull ExerciseType JUMPING_JACK

JUMP_ROPE

public static final @NonNull ExerciseType JUMP_ROPE

LAT_PULL_DOWN

public static final @NonNull ExerciseType LAT_PULL_DOWN

LUNGE

public static final @NonNull ExerciseType LUNGE

MARTIAL_ARTS

public static final @NonNull ExerciseType MARTIAL_ARTS

MEDITATION

public static final @NonNull ExerciseType MEDITATION

MOUNTAIN_BIKING

public static final @NonNull ExerciseType MOUNTAIN_BIKING

ORIENTEERING

public static final @NonNull ExerciseType ORIENTEERING

PADDLING

public static final @NonNull ExerciseType PADDLING

PARA_GLIDING

public static final @NonNull ExerciseType PARA_GLIDING

PILATES

public static final @NonNull ExerciseType PILATES

PLANK

public static final @NonNull ExerciseType PLANK

RACQUETBALL

public static final @NonNull ExerciseType RACQUETBALL

ROCK_CLIMBING

public static final @NonNull ExerciseType ROCK_CLIMBING

ROLLER_HOCKEY

public static final @NonNull ExerciseType ROLLER_HOCKEY

ROLLER_SKATING

public static final @NonNull ExerciseType ROLLER_SKATING

ROWING

public static final @NonNull ExerciseType ROWING

ROWING_MACHINE

public static final @NonNull ExerciseType ROWING_MACHINE

RUGBY

public static final @NonNull ExerciseType RUGBY

RUNNING

public static final @NonNull ExerciseType RUNNING

RUNNING_TREADMILL

public static final @NonNull ExerciseType RUNNING_TREADMILL

SAILING

public static final @NonNull ExerciseType SAILING

SCUBA_DIVING

public static final @NonNull ExerciseType SCUBA_DIVING

SKATING

public static final @NonNull ExerciseType SKATING

SKIING

public static final @NonNull ExerciseType SKIING

SNOWBOARDING

public static final @NonNull ExerciseType SNOWBOARDING

SNOWSHOEING

public static final @NonNull ExerciseType SNOWSHOEING

SOCCER

public static final @NonNull ExerciseType SOCCER

SOFTBALL

public static final @NonNull ExerciseType SOFTBALL

SQUASH

public static final @NonNull ExerciseType SQUASH

SQUAT

public static final @NonNull ExerciseType SQUAT

STAIR_CLIMBING

public static final @NonNull ExerciseType STAIR_CLIMBING

STAIR_CLIMBING_MACHINE

public static final @NonNull ExerciseType STAIR_CLIMBING_MACHINE

STRENGTH_TRAINING

public static final @NonNull ExerciseType STRENGTH_TRAINING

STRETCHING

public static final @NonNull ExerciseType STRETCHING

SURFING

public static final @NonNull ExerciseType SURFING

SWIMMING_OPEN_WATER

public static final @NonNull ExerciseType SWIMMING_OPEN_WATER

SWIMMING_POOL

public static final @NonNull ExerciseType SWIMMING_POOL

TABLE_TENNIS

public static final @NonNull ExerciseType TABLE_TENNIS

TENNIS

public static final @NonNull ExerciseType TENNIS

UNKNOWN

public static final @NonNull ExerciseType UNKNOWN

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

UPPER_TWIST

public static final @NonNull ExerciseType UPPER_TWIST

VOLLEYBALL

public static final @NonNull ExerciseType VOLLEYBALL

WALKING

public static final @NonNull ExerciseType WALKING

WATER_POLO

public static final @NonNull ExerciseType WATER_POLO

WEIGHTLIFTING

public static final @NonNull ExerciseType WEIGHTLIFTING

WORKOUT

public static final @NonNull ExerciseType WORKOUT

YACHTING

public static final @NonNull ExerciseType YACHTING

YOGA

public static final @NonNull ExerciseType YOGA

Public methods

equals

public boolean equals(Object other)

fromId

Added in 1.0.0
public static final @NonNull ExerciseType fromId(int id)

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.

getId

Added in 1.0.0
public final int getId()

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

getName

Added in 1.0.0
public final @NonNull String getName()

Returns a human readable name to represent this ExerciseType.

hashCode

public int hashCode()

toString

public @NonNull String toString()