com.garmin.fit
Enum ExdDataUnits
java.lang.Object
java.lang.Enum<ExdDataUnits>
com.garmin.fit.ExdDataUnits
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<ExdDataUnits>
public enum ExdDataUnits
- extends java.lang.Enum<ExdDataUnits>
Field Summary |
protected short |
value
|
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
NO_UNITS
public static final ExdDataUnits NO_UNITS
LAPS
public static final ExdDataUnits LAPS
MILES_PER_HOUR
public static final ExdDataUnits MILES_PER_HOUR
KILOMETERS_PER_HOUR
public static final ExdDataUnits KILOMETERS_PER_HOUR
FEET_PER_HOUR
public static final ExdDataUnits FEET_PER_HOUR
METERS_PER_HOUR
public static final ExdDataUnits METERS_PER_HOUR
DEGREES_CELSIUS
public static final ExdDataUnits DEGREES_CELSIUS
DEGREES_FARENHEIT
public static final ExdDataUnits DEGREES_FARENHEIT
ZONE
public static final ExdDataUnits ZONE
GEAR
public static final ExdDataUnits GEAR
RPM
public static final ExdDataUnits RPM
BPM
public static final ExdDataUnits BPM
DEGREES
public static final ExdDataUnits DEGREES
MILLIMETERS
public static final ExdDataUnits MILLIMETERS
METERS
public static final ExdDataUnits METERS
KILOMETERS
public static final ExdDataUnits KILOMETERS
FEET
public static final ExdDataUnits FEET
YARDS
public static final ExdDataUnits YARDS
KILOFEET
public static final ExdDataUnits KILOFEET
MILES
public static final ExdDataUnits MILES
TIME
public static final ExdDataUnits TIME
ENUM_TURN_TYPE
public static final ExdDataUnits ENUM_TURN_TYPE
PERCENT
public static final ExdDataUnits PERCENT
WATTS
public static final ExdDataUnits WATTS
WATTS_PER_KILOGRAM
public static final ExdDataUnits WATTS_PER_KILOGRAM
ENUM_BATTERY_STATUS
public static final ExdDataUnits ENUM_BATTERY_STATUS
ENUM_BIKE_LIGHT_BEAM_ANGLE_MODE
public static final ExdDataUnits ENUM_BIKE_LIGHT_BEAM_ANGLE_MODE
ENUM_BIKE_LIGHT_BATTERY_STATUS
public static final ExdDataUnits ENUM_BIKE_LIGHT_BATTERY_STATUS
ENUM_BIKE_LIGHT_NETWORK_CONFIG_TYPE
public static final ExdDataUnits ENUM_BIKE_LIGHT_NETWORK_CONFIG_TYPE
LIGHTS
public static final ExdDataUnits LIGHTS
SECONDS
public static final ExdDataUnits SECONDS
MINUTES
public static final ExdDataUnits MINUTES
HOURS
public static final ExdDataUnits HOURS
CALORIES
public static final ExdDataUnits CALORIES
KILOJOULES
public static final ExdDataUnits KILOJOULES
MILLISECONDS
public static final ExdDataUnits MILLISECONDS
SECOND_PER_MILE
public static final ExdDataUnits SECOND_PER_MILE
SECOND_PER_KILOMETER
public static final ExdDataUnits SECOND_PER_KILOMETER
CENTIMETER
public static final ExdDataUnits CENTIMETER
ENUM_COURSE_POINT
public static final ExdDataUnits ENUM_COURSE_POINT
BRADIANS
public static final ExdDataUnits BRADIANS
ENUM_SPORT
public static final ExdDataUnits ENUM_SPORT
INCHES_HG
public static final ExdDataUnits INCHES_HG
MM_HG
public static final ExdDataUnits MM_HG
MBARS
public static final ExdDataUnits MBARS
HECTO_PASCALS
public static final ExdDataUnits HECTO_PASCALS
FEET_PER_MIN
public static final ExdDataUnits FEET_PER_MIN
METERS_PER_MIN
public static final ExdDataUnits METERS_PER_MIN
METERS_PER_SEC
public static final ExdDataUnits METERS_PER_SEC
EIGHT_CARDINAL
public static final ExdDataUnits EIGHT_CARDINAL
INVALID
public static final ExdDataUnits INVALID
value
protected short value
values
public static ExdDataUnits[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (ExdDataUnits c : ExdDataUnits.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ExdDataUnits valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
getByValue
public static ExdDataUnits getByValue(java.lang.Short value)
getStringFromValue
public static java.lang.String getStringFromValue(ExdDataUnits value)
- Retrieves the String Representation of the Value
- Returns:
- The string representation of the value
getValue
public short getValue()