Package com.diozero.devices
Enum GarminLidarLiteV4.Preset
- java.lang.Object
-
- java.lang.Enum<GarminLidarLiteV4.Preset>
-
- com.diozero.devices.GarminLidarLiteV4.Preset
-
- All Implemented Interfaces:
Serializable
,Comparable<GarminLidarLiteV4.Preset>
- Enclosing class:
- GarminLidarLiteV4
public static enum GarminLidarLiteV4.Preset extends Enum<GarminLidarLiteV4.Preset>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BALANCED
Max acquisition count: 128; quick termination disabledMAX_RANGE_HIGH_SPEED
Max acquisition count: 255; quick termination enabledMAXIMUM_RANGE
Max acquisition count: 255; quick termination disabledMID_RANGE_HIGH_SPEED
Max acquisition count: 128; quick termination enabledSHORT_RANGE_HIGH_SPEED
Max acquisition count: 24; quick termination enabledVERY_SHORT_RANGE_HIGH_SPEED
Max acquisition count: 4; quick termination enabled
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getMaxAcquisitionCount()
boolean
isQuickTerminationEnabled()
static GarminLidarLiteV4.Preset
valueOf(String name)
Returns the enum constant of this type with the specified name.static GarminLidarLiteV4.Preset[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MAXIMUM_RANGE
public static final GarminLidarLiteV4.Preset MAXIMUM_RANGE
Max acquisition count: 255; quick termination disabled
-
BALANCED
public static final GarminLidarLiteV4.Preset BALANCED
Max acquisition count: 128; quick termination disabled
-
SHORT_RANGE_HIGH_SPEED
public static final GarminLidarLiteV4.Preset SHORT_RANGE_HIGH_SPEED
Max acquisition count: 24; quick termination enabled
-
MID_RANGE_HIGH_SPEED
public static final GarminLidarLiteV4.Preset MID_RANGE_HIGH_SPEED
Max acquisition count: 128; quick termination enabled
-
MAX_RANGE_HIGH_SPEED
public static final GarminLidarLiteV4.Preset MAX_RANGE_HIGH_SPEED
Max acquisition count: 255; quick termination enabled
-
VERY_SHORT_RANGE_HIGH_SPEED
public static final GarminLidarLiteV4.Preset VERY_SHORT_RANGE_HIGH_SPEED
Max acquisition count: 4; quick termination enabled
-
-
Method Detail
-
values
public static GarminLidarLiteV4.Preset[] 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 (GarminLidarLiteV4.Preset c : GarminLidarLiteV4.Preset.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GarminLidarLiteV4.Preset 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
-
getMaxAcquisitionCount
public int getMaxAcquisitionCount()
-
isQuickTerminationEnabled
public boolean isQuickTerminationEnabled()
-
-