public static enum CapabilitySnapshot.CommandId extends java.lang.Enum<CapabilitySnapshot.CommandId> implements Capability.CommandId
CapabilitySnapshot
.Enum Constant and Description |
---|
GRAB_IMAGE |
Modifier and Type | Method and Description |
---|---|
static CapabilitySnapshot.CommandId |
getEnum(int index) |
int |
getInt() |
static CapabilitySnapshot.CommandId |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CapabilitySnapshot.CommandId[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CapabilitySnapshot.CommandId GRAB_IMAGE
public static CapabilitySnapshot.CommandId[] values()
for (CapabilitySnapshot.CommandId c : CapabilitySnapshot.CommandId.values()) System.out.println(c);
public static CapabilitySnapshot.CommandId 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 CapabilitySnapshot.CommandId getEnum(int index)
public int getInt()
getInt
in interface CommandIdInterface