public static enum AntPlusHeartRatePcc.DataState extends java.lang.Enum<AntPlusHeartRatePcc.DataState>
Enum Constant and Description |
---|
INITIAL_VALUE
New starting value for heart rate data.
|
LIVE_DATA
The data being received is from an active Heart Rate Monitor
|
UNRECOGNIZED
The value sent by the plugin service was unrecognized indicating an upgrade of the PCC
may be required to handle the value.
|
ZERO_DETECTED
Plugins has detected an unusually low heart rate.
|
Modifier and Type | Method and Description |
---|---|
int |
getIntValue()
Convert enum to equivalent int value
|
static AntPlusHeartRatePcc.DataState |
getValueFromInt(int intValue)
Convert int to equivalent enum value
|
static AntPlusHeartRatePcc.DataState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AntPlusHeartRatePcc.DataState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AntPlusHeartRatePcc.DataState LIVE_DATA
public static final AntPlusHeartRatePcc.DataState INITIAL_VALUE
public static final AntPlusHeartRatePcc.DataState ZERO_DETECTED
public static final AntPlusHeartRatePcc.DataState UNRECOGNIZED
public static AntPlusHeartRatePcc.DataState[] values()
for (AntPlusHeartRatePcc.DataState c : AntPlusHeartRatePcc.DataState.values()) System.out.println(c);
public static AntPlusHeartRatePcc.DataState valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getIntValue()
public static AntPlusHeartRatePcc.DataState getValueFromInt(int intValue)
intValue
- integer to convertCopyright © 2015 Dynastream Innovations Inc. All Rights Reserved.