Enum Constant and Description |
---|
ERROR_DATA_OUT_OF_RANGE |
ERROR_INCOMPLETE_DATA |
ERROR_IRREGULAR_HEART_RATE |
ERROR_NO_MEASUREMENT |
INVALID |
NO_ERROR |
Modifier and Type | Field and Description |
---|---|
protected short |
value |
Modifier and Type | Method and Description |
---|---|
static BpStatus |
getByValue(java.lang.Short value) |
static java.lang.String |
getStringFromValue(BpStatus value)
Retrieves the String Representation of the Value
|
short |
getValue() |
static BpStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BpStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BpStatus NO_ERROR
public static final BpStatus ERROR_INCOMPLETE_DATA
public static final BpStatus ERROR_NO_MEASUREMENT
public static final BpStatus ERROR_DATA_OUT_OF_RANGE
public static final BpStatus ERROR_IRREGULAR_HEART_RATE
public static final BpStatus INVALID
public static BpStatus[] values()
for (BpStatus c : BpStatus.values()) System.out.println(c);
public static BpStatus 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 static BpStatus getByValue(java.lang.Short value)
public static java.lang.String getStringFromValue(BpStatus value)
value
- The enum constantpublic short getValue()