Package com.diozero.devices.sandpit
Enum Max30102.SpO2SampleRate
- java.lang.Object
-
- java.lang.Enum<Max30102.SpO2SampleRate>
-
- com.diozero.devices.sandpit.Max30102.SpO2SampleRate
-
- All Implemented Interfaces:
Serializable
,Comparable<Max30102.SpO2SampleRate>
- Enclosing class:
- Max30102
public static enum Max30102.SpO2SampleRate extends Enum<Max30102.SpO2SampleRate>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getSampleRate()
static Max30102.SpO2SampleRate
valueOf(String name)
Returns the enum constant of this type with the specified name.static Max30102.SpO2SampleRate[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
_50
public static final Max30102.SpO2SampleRate _50
-
_100
public static final Max30102.SpO2SampleRate _100
-
_200
public static final Max30102.SpO2SampleRate _200
-
_400
public static final Max30102.SpO2SampleRate _400
-
_800
public static final Max30102.SpO2SampleRate _800
-
_1000
public static final Max30102.SpO2SampleRate _1000
-
_1600
public static final Max30102.SpO2SampleRate _1600
-
_3200
public static final Max30102.SpO2SampleRate _3200
-
-
Method Detail
-
values
public static Max30102.SpO2SampleRate[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Max30102.SpO2SampleRate c : Max30102.SpO2SampleRate.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Max30102.SpO2SampleRate valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getSampleRate
public int getSampleRate()
-
-