Package com.diozero.devices.sandpit
Enum Max30102.SampleAveraging
- java.lang.Object
-
- java.lang.Enum<Max30102.SampleAveraging>
-
- com.diozero.devices.sandpit.Max30102.SampleAveraging
-
- All Implemented Interfaces:
Serializable
,Comparable<Max30102.SampleAveraging>
- Enclosing class:
- Max30102
public static enum Max30102.SampleAveraging extends Enum<Max30102.SampleAveraging>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Max30102.SampleAveraging
valueOf(String name)
Returns the enum constant of this type with the specified name.static Max30102.SampleAveraging[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
_1
public static final Max30102.SampleAveraging _1
-
_2
public static final Max30102.SampleAveraging _2
-
_4
public static final Max30102.SampleAveraging _4
-
_8
public static final Max30102.SampleAveraging _8
-
_16
public static final Max30102.SampleAveraging _16
-
_32
public static final Max30102.SampleAveraging _32
-
-
Method Detail
-
values
public static Max30102.SampleAveraging[] 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.SampleAveraging c : Max30102.SampleAveraging.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.SampleAveraging 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
-
-