com.garmin.fit
Class AutoActivityDetect
java.lang.Object
com.garmin.fit.AutoActivityDetect
public class AutoActivityDetect
- 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 |
NONE
public static final long NONE
- See Also:
- Constant Field Values
RUNNING
public static final long RUNNING
- See Also:
- Constant Field Values
CYCLING
public static final long CYCLING
- See Also:
- Constant Field Values
SWIMMING
public static final long SWIMMING
- See Also:
- Constant Field Values
WALKING
public static final long WALKING
- See Also:
- Constant Field Values
ELLIPTICAL
public static final long ELLIPTICAL
- See Also:
- Constant Field Values
SEDENTARY
public static final long SEDENTARY
- See Also:
- Constant Field Values
INVALID
public static final long INVALID
AutoActivityDetect
public AutoActivityDetect()
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