ExerciseSessionType


public final class ExerciseSessionType
extends Object

java.lang.Object
   ↳ android.health.connect.datatypes.ExerciseSessionType


Identifier for exercise types, as returned by ExerciseSessionRecord.getExerciseType().

Summary

Constants

int EXERCISE_SESSION_TYPE_BADMINTON

Use this type for the badminton playing session.

int EXERCISE_SESSION_TYPE_BASEBALL

Use this type for the baseball playing session.

int EXERCISE_SESSION_TYPE_BASKETBALL

Use this type for the basketball playing session.

int EXERCISE_SESSION_TYPE_BIKING

Use this type for riding a bicycle session.

int EXERCISE_SESSION_TYPE_BIKING_STATIONARY

Use this type for riding a stationary bicycle session.

int EXERCISE_SESSION_TYPE_BOOT_CAMP

Use this type for the boot camp session.

int EXERCISE_SESSION_TYPE_BOXING

Use this type for boxing session.

int EXERCISE_SESSION_TYPE_CALISTHENICS

Use this type for calisthenics session.

int EXERCISE_SESSION_TYPE_CRICKET

Use this type for the cricket playing session.

int EXERCISE_SESSION_TYPE_DANCING

Use this type for the dancing session.

int EXERCISE_SESSION_TYPE_ELLIPTICAL

Use this type for elliptical workout.

int EXERCISE_SESSION_TYPE_EXERCISE_CLASS

Use this type for the exercise class session.

int EXERCISE_SESSION_TYPE_FENCING

Use this type for the fencing session.

int EXERCISE_SESSION_TYPE_FOOTBALL_AMERICAN

Use this type for the American football playing session.

int EXERCISE_SESSION_TYPE_FOOTBALL_AUSTRALIAN

Use this type for the Australian football playing session.

int EXERCISE_SESSION_TYPE_FRISBEE_DISC

Use this type for the frisbee disc playing session.

int EXERCISE_SESSION_TYPE_GOLF

Use this type for the golf playing session.

int EXERCISE_SESSION_TYPE_GUIDED_BREATHING

Use this type for the guided breathing session.

int EXERCISE_SESSION_TYPE_GYMNASTICS

Use this type for the gymnastics session.

int EXERCISE_SESSION_TYPE_HANDBALL

Use this type for the handball playing session.

int EXERCISE_SESSION_TYPE_HIGH_INTENSITY_INTERVAL_TRAINING

Use this type for the high intensity interval training session.

int EXERCISE_SESSION_TYPE_HIKING

Use this type for the hiking session.

int EXERCISE_SESSION_TYPE_ICE_HOCKEY

Use this type for the ice hockey playing session.

int EXERCISE_SESSION_TYPE_ICE_SKATING

Use this type for the ice skating session.

int EXERCISE_SESSION_TYPE_MARTIAL_ARTS

Use this type for the martial arts training session.

int EXERCISE_SESSION_TYPE_OTHER_WORKOUT

Use this type for the other workout session.

int EXERCISE_SESSION_TYPE_PADDLING

Use this type for the paddling session.

int EXERCISE_SESSION_TYPE_PARAGLIDING

Use this type for the paragliding session.

int EXERCISE_SESSION_TYPE_PILATES

Use this type for the pilates session.

int EXERCISE_SESSION_TYPE_RACQUETBALL

Use this type for the racquetball playing session.

int EXERCISE_SESSION_TYPE_ROCK_CLIMBING

Use this type for the rock climbing session.

int EXERCISE_SESSION_TYPE_ROLLER_HOCKEY

Use this type for the roller hockey playing session.

int EXERCISE_SESSION_TYPE_ROWING

Use this type for the rowing session.

int EXERCISE_SESSION_TYPE_ROWING_MACHINE

Use this type for rowing machine.

int EXERCISE_SESSION_TYPE_RUGBY

Use this type for the rugby playing session.

int EXERCISE_SESSION_TYPE_RUNNING

Use this type for the running session.

int EXERCISE_SESSION_TYPE_RUNNING_TREADMILL

Use this type for the treadmill running session.

int EXERCISE_SESSION_TYPE_SAILING

Use this type for the sailing session.

int EXERCISE_SESSION_TYPE_SCUBA_DIVING

Use this type for the scuba diving session.

int EXERCISE_SESSION_TYPE_SKATING

Use this type for the skating session.

int EXERCISE_SESSION_TYPE_SKIING

Use this type for the skiing session.

int EXERCISE_SESSION_TYPE_SNOWBOARDING

Use this type for the snowboarding session.

int EXERCISE_SESSION_TYPE_SNOWSHOEING

Use this type for the snowshoeing session.

int EXERCISE_SESSION_TYPE_SOCCER

Use this type for the soccer playing session.

int EXERCISE_SESSION_TYPE_SOFTBALL

Use this type for the softball playing session.

int EXERCISE_SESSION_TYPE_SQUASH

Use this type for the squash playing session.

int EXERCISE_SESSION_TYPE_STAIR_CLIMBING

Use this type for the stair climbing session.

int EXERCISE_SESSION_TYPE_STAIR_CLIMBING_MACHINE

Use this type for the stair climbing machine session.

int EXERCISE_SESSION_TYPE_STRENGTH_TRAINING

Use this type for the strength training session.

int EXERCISE_SESSION_TYPE_STRETCHING

Use this type for the stretching session.

int EXERCISE_SESSION_TYPE_SURFING

Use this type for the surfing session.

int EXERCISE_SESSION_TYPE_SWIMMING_OPEN_WATER

Use this type for the swimming in the open water session.

int EXERCISE_SESSION_TYPE_SWIMMING_POOL

Use this type for the swimming in the pool session.

int EXERCISE_SESSION_TYPE_TABLE_TENNIS

Use this type for the table tennis playing session.

int EXERCISE_SESSION_TYPE_TENNIS

Use this type for the tennis playing session.

int EXERCISE_SESSION_TYPE_UNKNOWN

Use this type if the type of the exercise session is not known.

int EXERCISE_SESSION_TYPE_VOLLEYBALL

Use this type for the volleyball playing session.

int EXERCISE_SESSION_TYPE_WALKING

Use this type for the walking session.

int EXERCISE_SESSION_TYPE_WATER_POLO

Use this type for the water polo playing session.

int EXERCISE_SESSION_TYPE_WEIGHTLIFTING

Use this type for the weightlifting session.

int EXERCISE_SESSION_TYPE_WHEELCHAIR

Use this type for the wheelchair session.

int EXERCISE_SESSION_TYPE_YOGA

Use this type for the yoga session.

Inherited methods

Object clone()

Creates and returns a copy of this object.

boolean equals(Object obj)

Indicates whether some other object is "equal to" this one.

void finalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

final Class<?> getClass()

Returns the runtime class of this Object.

int hashCode()

Returns a hash code value for the object.

final void notify()

Wakes up a single thread that is waiting on this object's monitor.

final void notifyAll()

Wakes up all threads that are waiting on this object's monitor.

String toString()

Returns a string representation of the object.

final void wait(long timeoutMillis, int nanos)

Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.

final void wait(long timeoutMillis)

Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.

final void wait()

Causes the current thread to wait until it is awakened, typically by being notified or interrupted.

Constants

EXERCISE_SESSION_TYPE_BADMINTON

Added in API level 34
public static final int EXERCISE_SESSION_TYPE_BADMINTON

Use this type for the badminton playing session.

Constant Value: 1 (0x00000001)

EXERCISE_SESSION_TYPE_BASEBALL

Added in API level 34
public static final int EXERCISE_SESSION_TYPE_BASEBALL

Use this type for the baseball playing session.

Constant Value: 2 (0x00000002)

EXERCISE_SESSION_TYPE_BASKETBALL

Added in API level 34
public static final int EXERCISE_SESSION_TYPE_BASKETBALL

Use this type for the basketball playing session.

Constant Value: 3 (0x00000003)

EXERCISE_SESSION_TYPE_BIKING

Added in API level 34
public static final int EXERCISE_SESSION_TYPE_BIKING

Use this type for riding a bicycle session.

Constant Value: 4 (0x00000004)

EXERCISE_SESSION_TYPE_BIKING_STATIONARY

Added in API level 34
public static final int EXERCISE_SESSION_TYPE_BIKING_STATIONARY

Use this type for riding a stationary bicycle session.

Constant Value: 5 (0x00000005)

EXERCISE_SESSION_TYPE_BOOT_CAMP

Added in API level 34
public static final int EXERCISE_SESSION_TYPE_BOOT_CAMP

Use this type for the boot camp session.

Constant Value: 6 (0x00000006)

EXERCISE_SESSION_TYPE_BOXING

Added in API level 34
public static final int EXERCISE_SESSION_TYPE_BOXING

Use this type for boxing session.

Constant Value: 7 (0x00000007)

EXERCISE_SESSION_TYPE_CALISTHENICS

Added in API level 34
public static final int EXERCISE_SESSION_TYPE_CALISTHENICS

Use this type for calisthenics session.

Constant Value: 8 (0x00000008)

EXERCISE_SESSION_TYPE_CRICKET

Added in API level 34
public static final int EXERCISE_SESSION_TYPE_CRICKET

Use this type for the cricket playing session.

Constant Value: 9 (0x00000009)

EXERCISE_SESSION_TYPE_DANCING

Added in API level 34
public static final int EXERCISE_SESSION_TYPE_DANCING

Use this type for the dancing session.

Constant Value: 10 (0x0000000a)

EXERCISE_SESSION_TYPE_ELLIPTICAL

Added in API level 34
public static final int EXERCISE_SESSION_TYPE_ELLIPTICAL

Use this type for elliptical workout.

Constant Value: 60 (0x0000003c)

EXERCISE_SESSION_TYPE_EXERCISE_CLASS

Added in API level 34
public static final int EXERCISE_SESSION_TYPE_EXERCISE_CLASS

Use this type for the exercise class session.

Constant Value: 11 (0x0000000b)

EXERCISE_SESSION_TYPE_FENCING

Added in API level 34
public static final int EXERCISE_SESSION_TYPE_FENCING

Use this type for the fencing session.

Constant Value: 12 (0x0000000c)

EXERCISE_SESSION_TYPE_FOOTBALL_AMERICAN

Added in API level 34
public static final int EXERCISE_SESSION_TYPE_FOOTBALL_AMERICAN

Use this type for the American football playing session.

Constant Value: 13 (0x0000000d)

EXERCISE_SESSION_TYPE_FOOTBALL_AUSTRALIAN

Added in API level 34
public static final int EXERCISE_SESSION_TYPE_FOOTBALL_AUSTRALIAN

Use this type for the Australian football playing session.

Constant Value: 14 (0x0000000e)

EXERCISE_SESSION_TYPE_FRISBEE_DISC

Added in API level 34
public static final int EXERCISE_SESSION_TYPE_FRISBEE_DISC

Use this type for the frisbee disc playing session.

Constant Value: 15 (0x0000000f)

EXERCISE_SESSION_TYPE_GOLF

Added in API level 34
public static final int EXERCISE_SESSION_TYPE_GOLF

Use this type for the golf playing session.

Constant Value: 16 (0x00000010)

EXERCISE_SESSION_TYPE_GUIDED_BREATHING

Added in API level 34
public static final int EXERCISE_SESSION_TYPE_GUIDED_BREATHING

Use this type for the guided breathing session.

Constant Value: 17 (0x00000011)

EXERCISE_SESSION_TYPE_GYMNASTICS

Added in API level 34
public static final int EXERCISE_SESSION_TYPE_GYMNASTICS

Use this type for the gymnastics session.

Constant Value: 18 (0x00000012)

EXERCISE_SESSION_TYPE_HANDBALL

Added in API level 34
public static final int EXERCISE_SESSION_TYPE_HANDBALL

Use this type for the handball playing session.

Constant Value: 19 (0x00000013)

EXERCISE_SESSION_TYPE_HIGH_INTENSITY_INTERVAL_TRAINING

Added in API level 34
public static final int EXERCISE_SESSION_TYPE_HIGH_INTENSITY_INTERVAL_TRAINING

Use this type for the high intensity interval training session.

Constant Value: 20 (0x00000014)

EXERCISE_SESSION_TYPE_HIKING

Added in API level 34
public static final int EXERCISE_SESSION_TYPE_HIKING

Use this type for the hiking session.

Constant Value: 21 (0x00000015)

EXERCISE_SESSION_TYPE_ICE_HOCKEY

Added in API level 34
public static final int EXERCISE_SESSION_TYPE_ICE_HOCKEY

Use this type for the ice hockey playing session.

Constant Value: 22 (0x00000016)

EXERCISE_SESSION_TYPE_ICE_SKATING

Added in API level 34
public static final int EXERCISE_SESSION_TYPE_ICE_SKATING

Use this type for the ice skating session.

Constant Value: 23 (0x00000017)

EXERCISE_SESSION_TYPE_MARTIAL_ARTS

Added in API level 34
public static final int EXERCISE_SESSION_TYPE_MARTIAL_ARTS

Use this type for the martial arts training session.

Constant Value: 24 (0x00000018)

EXERCISE_SESSION_TYPE_OTHER_WORKOUT

Added in API level 34
public static final int EXERCISE_SESSION_TYPE_OTHER_WORKOUT

Use this type for the other workout session.

Constant Value: 58 (0x0000003a)

EXERCISE_SESSION_TYPE_PADDLING

Added in API level 34
public static final int EXERCISE_SESSION_TYPE_PADDLING

Use this type for the paddling session.

Constant Value: 25 (0x00000019)

EXERCISE_SESSION_TYPE_PARAGLIDING

Added in API level 34
public static final int EXERCISE_SESSION_TYPE_PARAGLIDING

Use this type for the paragliding session.

Constant Value: 26 (0x0000001a)

EXERCISE_SESSION_TYPE_PILATES

Added in API level 34
public static final int EXERCISE_SESSION_TYPE_PILATES

Use this type for the pilates session.

Constant Value: 27 (0x0000001b)

EXERCISE_SESSION_TYPE_RACQUETBALL

Added in API level 34
public static final int EXERCISE_SESSION_TYPE_RACQUETBALL

Use this type for the racquetball playing session.

Constant Value: 28 (0x0000001c)

EXERCISE_SESSION_TYPE_ROCK_CLIMBING

Added in API level 34
public static final int EXERCISE_SESSION_TYPE_ROCK_CLIMBING

Use this type for the rock climbing session.

Constant Value: 29 (0x0000001d)

EXERCISE_SESSION_TYPE_ROLLER_HOCKEY

Added in API level 34
public static final int EXERCISE_SESSION_TYPE_ROLLER_HOCKEY

Use this type for the roller hockey playing session.

Constant Value: 30 (0x0000001e)

EXERCISE_SESSION_TYPE_ROWING

Added in API level 34
public static final int EXERCISE_SESSION_TYPE_ROWING

Use this type for the rowing session.

Constant Value: 31 (0x0000001f)

EXERCISE_SESSION_TYPE_ROWING_MACHINE

Added in API level 34
public static final int EXERCISE_SESSION_TYPE_ROWING_MACHINE

Use this type for rowing machine.

Constant Value: 61 (0x0000003d)

EXERCISE_SESSION_TYPE_RUGBY

Added in API level 34
public static final int EXERCISE_SESSION_TYPE_RUGBY

Use this type for the rugby playing session.

Constant Value: 32 (0x00000020)

EXERCISE_SESSION_TYPE_RUNNING

Added in API level 34
public static final int EXERCISE_SESSION_TYPE_RUNNING

Use this type for the running session.

Constant Value: 33 (0x00000021)

EXERCISE_SESSION_TYPE_RUNNING_TREADMILL

Added in API level 34
public static final int EXERCISE_SESSION_TYPE_RUNNING_TREADMILL

Use this type for the treadmill running session.

Constant Value: 34 (0x00000022)

EXERCISE_SESSION_TYPE_SAILING

Added in API level 34
public static final int EXERCISE_SESSION_TYPE_SAILING

Use this type for the sailing session.

Constant Value: 35 (0x00000023)

EXERCISE_SESSION_TYPE_SCUBA_DIVING

Added in API level 34
public static final int EXERCISE_SESSION_TYPE_SCUBA_DIVING

Use this type for the scuba diving session.

Constant Value: 36 (0x00000024)

EXERCISE_SESSION_TYPE_SKATING

Added in API level 34
public static final int EXERCISE_SESSION_TYPE_SKATING

Use this type for the skating session.

Constant Value: 37 (0x00000025)

EXERCISE_SESSION_TYPE_SKIING

Added in API level 34
public static final int EXERCISE_SESSION_TYPE_SKIING

Use this type for the skiing session.

Constant Value: 38 (0x00000026)

EXERCISE_SESSION_TYPE_SNOWBOARDING

Added in API level 34
public static final int EXERCISE_SESSION_TYPE_SNOWBOARDING

Use this type for the snowboarding session.

Constant Value: 39 (0x00000027)

EXERCISE_SESSION_TYPE_SNOWSHOEING

Added in API level 34
public static final int EXERCISE_SESSION_TYPE_SNOWSHOEING

Use this type for the snowshoeing session.

Constant Value: 40 (0x00000028)

EXERCISE_SESSION_TYPE_SOCCER

Added in API level 34
public static final int EXERCISE_SESSION_TYPE_SOCCER

Use this type for the soccer playing session.

Constant Value: 41 (0x00000029)

EXERCISE_SESSION_TYPE_SOFTBALL

Added in API level 34
public static final int EXERCISE_SESSION_TYPE_SOFTBALL

Use this type for the softball playing session.

Constant Value: 42 (0x0000002a)

EXERCISE_SESSION_TYPE_SQUASH

Added in API level 34
public static final int EXERCISE_SESSION_TYPE_SQUASH

Use this type for the squash playing session.

Constant Value: 43 (0x0000002b)

EXERCISE_SESSION_TYPE_STAIR_CLIMBING

Added in API level 34
public static final int EXERCISE_SESSION_TYPE_STAIR_CLIMBING

Use this type for the stair climbing session.

Constant Value: 44 (0x0000002c)

EXERCISE_SESSION_TYPE_STAIR_CLIMBING_MACHINE

Added in API level 34
public static final int EXERCISE_SESSION_TYPE_STAIR_CLIMBING_MACHINE

Use this type for the stair climbing machine session.

Constant Value: 59 (0x0000003b)

EXERCISE_SESSION_TYPE_STRENGTH_TRAINING

Added in API level 34
public static final int EXERCISE_SESSION_TYPE_STRENGTH_TRAINING

Use this type for the strength training session.

Constant Value: 45 (0x0000002d)

EXERCISE_SESSION_TYPE_STRETCHING

Added in API level 34
public static final int EXERCISE_SESSION_TYPE_STRETCHING

Use this type for the stretching session.

Constant Value: 46 (0x0000002e)

EXERCISE_SESSION_TYPE_SURFING

Added in API level 34
public static final int EXERCISE_SESSION_TYPE_SURFING

Use this type for the surfing session.

Constant Value: 47 (0x0000002f)

EXERCISE_SESSION_TYPE_SWIMMING_OPEN_WATER

Added in API level 34
public static final int EXERCISE_SESSION_TYPE_SWIMMING_OPEN_WATER

Use this type for the swimming in the open water session.

Constant Value: 48 (0x00000030)

EXERCISE_SESSION_TYPE_SWIMMING_POOL

Added in API level 34
public static final int EXERCISE_SESSION_TYPE_SWIMMING_POOL

Use this type for the swimming in the pool session.

Constant Value: 49 (0x00000031)

EXERCISE_SESSION_TYPE_TABLE_TENNIS

Added in API level 34
public static final int EXERCISE_SESSION_TYPE_TABLE_TENNIS

Use this type for the table tennis playing session.

Constant Value: 50 (0x00000032)

EXERCISE_SESSION_TYPE_TENNIS

Added in API level 34
public static final int EXERCISE_SESSION_TYPE_TENNIS

Use this type for the tennis playing session.

Constant Value: 51 (0x00000033)

EXERCISE_SESSION_TYPE_UNKNOWN

Added in API level 34
public static final int EXERCISE_SESSION_TYPE_UNKNOWN

Use this type if the type of the exercise session is not known.

Constant Value: 0 (0x00000000)

EXERCISE_SESSION_TYPE_VOLLEYBALL

Added in API level 34
public static final int EXERCISE_SESSION_TYPE_VOLLEYBALL

Use this type for the volleyball playing session.

Constant Value: 52 (0x00000034)

EXERCISE_SESSION_TYPE_WALKING

Added in API level 34
public static final int EXERCISE_SESSION_TYPE_WALKING

Use this type for the walking session.

Constant Value: 53 (0x00000035)

EXERCISE_SESSION_TYPE_WATER_POLO

Added in API level 34
public static final int EXERCISE_SESSION_TYPE_WATER_POLO

Use this type for the water polo playing session.

Constant Value: 54 (0x00000036)

EXERCISE_SESSION_TYPE_WEIGHTLIFTING

Added in API level 34
public static final int EXERCISE_SESSION_TYPE_WEIGHTLIFTING

Use this type for the weightlifting session.

Constant Value: 55 (0x00000037)

EXERCISE_SESSION_TYPE_WHEELCHAIR

Added in API level 34
public static final int EXERCISE_SESSION_TYPE_WHEELCHAIR

Use this type for the wheelchair session.

Constant Value: 56 (0x00000038)

EXERCISE_SESSION_TYPE_YOGA

Added in API level 34
public static final int EXERCISE_SESSION_TYPE_YOGA

Use this type for the yoga session.

Constant Value: 57 (0x00000039)