com.garmin.fit
Class SportBits1
java.lang.Object
com.garmin.fit.SportBits1
public class SportBits1
- extends java.lang.Object
Method Summary |
static java.lang.String |
getStringFromValue(java.lang.Short value)
Retrieves the String Representation of the Value |
static java.lang.Short |
getValueFromString(java.lang.String value)
Retrieves a value given a string representation |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TENNIS
public static final short TENNIS
- See Also:
- Constant Field Values
AMERICAN_FOOTBALL
public static final short AMERICAN_FOOTBALL
- See Also:
- Constant Field Values
TRAINING
public static final short TRAINING
- See Also:
- Constant Field Values
WALKING
public static final short WALKING
- See Also:
- Constant Field Values
CROSS_COUNTRY_SKIING
public static final short CROSS_COUNTRY_SKIING
- See Also:
- Constant Field Values
ALPINE_SKIING
public static final short ALPINE_SKIING
- See Also:
- Constant Field Values
SNOWBOARDING
public static final short SNOWBOARDING
- See Also:
- Constant Field Values
ROWING
public static final short ROWING
- See Also:
- Constant Field Values
INVALID
public static final short INVALID
SportBits1
public SportBits1()
getStringFromValue
public static java.lang.String getStringFromValue(java.lang.Short value)
- Retrieves the String Representation of the Value
- Returns:
- The string representation of the value, or empty if unknown
getValueFromString
public static java.lang.Short getValueFromString(java.lang.String value)
- Retrieves a value given a string representation
- Returns:
- The value or INVALID if unkwown