Package ipsk.audio.capture
Enum Capture2.State
- java.lang.Object
-
- java.lang.Enum<Capture2.State>
-
- ipsk.audio.capture.Capture2.State
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Capture2.State>
- Enclosing class:
- Capture2
public static enum Capture2.State extends java.lang.Enum<Capture2.State>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Capture2.State
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Capture2.State[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CLOSE
public static final Capture2.State CLOSE
-
STOP
public static final Capture2.State STOP
-
CAPTURE
public static final Capture2.State CAPTURE
-
RECORD
public static final Capture2.State RECORD
-
TARGET_CHANGE
public static final Capture2.State TARGET_CHANGE
-
PAUSE
public static final Capture2.State PAUSE
-
ERROR
public static final Capture2.State ERROR
-
-
Method Detail
-
values
public static Capture2.State[] 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 (Capture2.State c : Capture2.State.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Capture2.State valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-