Modifier and Type | Field and Description |
---|---|
protected short |
value |
Modifier and Type | Method and Description |
---|---|
static Event |
getByValue(java.lang.Short value) |
static java.lang.String |
getStringFromValue(Event value)
Retrieves the String Representation of the Value
|
short |
getValue() |
static Event |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Event[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Event TIMER
public static final Event WORKOUT
public static final Event WORKOUT_STEP
public static final Event POWER_DOWN
public static final Event POWER_UP
public static final Event OFF_COURSE
public static final Event SESSION
public static final Event LAP
public static final Event COURSE_POINT
public static final Event BATTERY
public static final Event VIRTUAL_PARTNER_PACE
public static final Event HR_HIGH_ALERT
public static final Event HR_LOW_ALERT
public static final Event SPEED_HIGH_ALERT
public static final Event SPEED_LOW_ALERT
public static final Event CAD_HIGH_ALERT
public static final Event CAD_LOW_ALERT
public static final Event POWER_HIGH_ALERT
public static final Event POWER_LOW_ALERT
public static final Event RECOVERY_HR
public static final Event BATTERY_LOW
public static final Event TIME_DURATION_ALERT
public static final Event DISTANCE_DURATION_ALERT
public static final Event CALORIE_DURATION_ALERT
public static final Event ACTIVITY
public static final Event FITNESS_EQUIPMENT
public static final Event LENGTH
public static final Event USER_MARKER
public static final Event SPORT_POINT
public static final Event CALIBRATION
public static final Event FRONT_GEAR_CHANGE
public static final Event REAR_GEAR_CHANGE
public static final Event RIDER_POSITION_CHANGE
public static final Event ELEV_HIGH_ALERT
public static final Event ELEV_LOW_ALERT
public static final Event COMM_TIMEOUT
public static final Event RADAR_THREAT_ALERT
public static final Event INVALID
public static Event[] values()
for (Event c : Event.values()) System.out.println(c);
public static Event valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static Event getByValue(java.lang.Short value)
public static java.lang.String getStringFromValue(Event value)
value
- The enum constantpublic short getValue()