public static enum AntPlusHeartRatePcc.RrFlag extends java.lang.Enum<AntPlusHeartRatePcc.RrFlag>
Enum Constant and Description |
---|
DATA_SOURCE_AVERAGED
RR interval data has been calculated using an average of previously received and
currently received data.
|
DATA_SOURCE_CACHED
RR interval data is derived from cached current timestamp data pulled of previous page 0s
received from the heart rate sensor.
|
DATA_SOURCE_PAGE_4
RR interval data is derived from the previous heart beat event timestamp data pulled of
page 4 received from the heart rate sensor.
|
HEART_RATE_ZERO_DETECTED
Heart rate of 0bpm has been detected.
|
UNRECOGNIZED
The value sent by the Plugin Service was unrecognized, indicating an upgrade of the PCC
may be required to handle the value.
|
Modifier and Type | Method and Description |
---|---|
int |
getIntValue()
Convert enum to equivalent int value
|
static AntPlusHeartRatePcc.RrFlag |
getValueFromInt(int intValue)
Convert int to equivalent enum value
|
static AntPlusHeartRatePcc.RrFlag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AntPlusHeartRatePcc.RrFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AntPlusHeartRatePcc.RrFlag DATA_SOURCE_PAGE_4
public static final AntPlusHeartRatePcc.RrFlag DATA_SOURCE_CACHED
public static final AntPlusHeartRatePcc.RrFlag DATA_SOURCE_AVERAGED
public static final AntPlusHeartRatePcc.RrFlag HEART_RATE_ZERO_DETECTED
public static final AntPlusHeartRatePcc.RrFlag UNRECOGNIZED
public static AntPlusHeartRatePcc.RrFlag[] values()
for (AntPlusHeartRatePcc.RrFlag c : AntPlusHeartRatePcc.RrFlag.values()) System.out.println(c);
public static AntPlusHeartRatePcc.RrFlag 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.RrFlag getValueFromInt(int intValue)
intValue
- integer to convertCopyright © 2015 Dynastream Innovations Inc. All Rights Reserved.