com.garmin.fit
Class BatteryStatus
java.lang.Object
com.garmin.fit.BatteryStatus
public class BatteryStatus
- 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 |
NEW
public static final short NEW
- See Also:
- Constant Field Values
GOOD
public static final short GOOD
- See Also:
- Constant Field Values
OK
public static final short OK
- See Also:
- Constant Field Values
LOW
public static final short LOW
- See Also:
- Constant Field Values
CRITICAL
public static final short CRITICAL
- See Also:
- Constant Field Values
CHARGING
public static final short CHARGING
- See Also:
- Constant Field Values
UNKNOWN
public static final short UNKNOWN
- See Also:
- Constant Field Values
INVALID
public static final short INVALID
BatteryStatus
public BatteryStatus()
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