com.garmin.fit
Class RunExerciseName
java.lang.Object
com.garmin.fit.RunExerciseName
public class RunExerciseName
- extends java.lang.Object
Method Summary |
static java.lang.String |
getStringFromValue(java.lang.Integer value)
Retrieves the String Representation of the Value |
static java.lang.Integer |
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 |
RUN
public static final int RUN
- See Also:
- Constant Field Values
WALK
public static final int WALK
- See Also:
- Constant Field Values
JOG
public static final int JOG
- See Also:
- Constant Field Values
SPRINT
public static final int SPRINT
- See Also:
- Constant Field Values
INVALID
public static final int INVALID
RunExerciseName
public RunExerciseName()
getStringFromValue
public static java.lang.String getStringFromValue(java.lang.Integer value)
- Retrieves the String Representation of the Value
- Returns:
- The string representation of the value, or empty if unknown
getValueFromString
public static java.lang.Integer getValueFromString(java.lang.String value)
- Retrieves a value given a string representation
- Returns:
- The value or INVALID if unkwown