com.garmin.fit
Class WorkoutCapabilities
java.lang.Object
com.garmin.fit.WorkoutCapabilities
public class WorkoutCapabilities
- extends java.lang.Object
Method Summary |
static java.lang.String |
getStringFromValue(java.lang.Long value)
Retrieves the String Representation of the Value |
static java.lang.Long |
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 |
INTERVAL
public static final long INTERVAL
- See Also:
- Constant Field Values
CUSTOM
public static final long CUSTOM
- See Also:
- Constant Field Values
FITNESS_EQUIPMENT
public static final long FITNESS_EQUIPMENT
- See Also:
- Constant Field Values
FIRSTBEAT
public static final long FIRSTBEAT
- See Also:
- Constant Field Values
NEW_LEAF
public static final long NEW_LEAF
- See Also:
- Constant Field Values
TCX
public static final long TCX
- See Also:
- Constant Field Values
SPEED
public static final long SPEED
- See Also:
- Constant Field Values
HEART_RATE
public static final long HEART_RATE
- See Also:
- Constant Field Values
DISTANCE
public static final long DISTANCE
- See Also:
- Constant Field Values
CADENCE
public static final long CADENCE
- See Also:
- Constant Field Values
POWER
public static final long POWER
- See Also:
- Constant Field Values
GRADE
public static final long GRADE
- See Also:
- Constant Field Values
RESISTANCE
public static final long RESISTANCE
- See Also:
- Constant Field Values
PROTECTED
public static final long PROTECTED
- See Also:
- Constant Field Values
INVALID
public static final long INVALID
WorkoutCapabilities
public WorkoutCapabilities()
getStringFromValue
public static java.lang.String getStringFromValue(java.lang.Long value)
- Retrieves the String Representation of the Value
- Returns:
- The string representation of the value, or empty if unknown
getValueFromString
public static java.lang.Long getValueFromString(java.lang.String value)
- Retrieves a value given a string representation
- Returns:
- The value or INVALID if unkwown