public enum AutoStopMode extends java.lang.Enum<AutoStopMode>
Enum Constant and Description |
---|
Duration
stop after a duration of time
|
GpiTrigger
stop based on a general purpose input pin
|
None
do not automatically stop
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static AutoStopMode |
valueOf(int autoStopModeValue) |
static AutoStopMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AutoStopMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AutoStopMode None
public static final AutoStopMode Duration
public static final AutoStopMode GpiTrigger
public static AutoStopMode[] values()
for (AutoStopMode c : AutoStopMode.values()) System.out.println(c);
public static AutoStopMode 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 AutoStopMode valueOf(int autoStopModeValue)
autoStopModeValue
- the integer valuepublic int getValue()