com.garmin.fit
Class SportBits0
java.lang.Object
com.garmin.fit.SportBits0
public class SportBits0
- 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 |
GENERIC
public static final short GENERIC
- See Also:
- Constant Field Values
RUNNING
public static final short RUNNING
- See Also:
- Constant Field Values
CYCLING
public static final short CYCLING
- See Also:
- Constant Field Values
TRANSITION
public static final short TRANSITION
- See Also:
- Constant Field Values
FITNESS_EQUIPMENT
public static final short FITNESS_EQUIPMENT
- See Also:
- Constant Field Values
SWIMMING
public static final short SWIMMING
- See Also:
- Constant Field Values
BASKETBALL
public static final short BASKETBALL
- See Also:
- Constant Field Values
SOCCER
public static final short SOCCER
- See Also:
- Constant Field Values
INVALID
public static final short INVALID
SportBits0
public SportBits0()
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