public class AutoActivityDetect
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static long |
CYCLING |
static long |
ELLIPTICAL |
static long |
INVALID |
static long |
NONE |
static long |
RUNNING |
static long |
SEDENTARY |
static long |
SWIMMING |
static long |
WALKING |
Constructor and Description |
---|
AutoActivityDetect() |
Modifier and Type | Method and Description |
---|---|
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)
Returns the enum constant with the specified name.
|
public static final long NONE
public static final long RUNNING
public static final long CYCLING
public static final long SWIMMING
public static final long WALKING
public static final long ELLIPTICAL
public static final long SEDENTARY
public static final long INVALID
public static java.lang.String getStringFromValue(java.lang.Long value)
value
- The enum constantpublic static java.lang.Long getValueFromString(java.lang.String value)
value
- The enum string value