com.garmin.fit
Class SportBits2
java.lang.Object
com.garmin.fit.SportBits2
public class SportBits2
- 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 |
MOUNTAINEERING
public static final short MOUNTAINEERING
- See Also:
- Constant Field Values
HIKING
public static final short HIKING
- See Also:
- Constant Field Values
MULTISPORT
public static final short MULTISPORT
- See Also:
- Constant Field Values
PADDLING
public static final short PADDLING
- See Also:
- Constant Field Values
FLYING
public static final short FLYING
- See Also:
- Constant Field Values
E_BIKING
public static final short E_BIKING
- See Also:
- Constant Field Values
MOTORCYCLING
public static final short MOTORCYCLING
- See Also:
- Constant Field Values
BOATING
public static final short BOATING
- See Also:
- Constant Field Values
INVALID
public static final short INVALID
SportBits2
public SportBits2()
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