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