public static enum Cam.FOCUS_MODE extends java.lang.Enum<Cam.FOCUS_MODE>
| Enum Constant and Description |
|---|
AUTO
Auto-focus mode.
|
CONTINUOUS_PICTURE
Continuous auto focus mode intended for taking pictures.
|
CONTINUOUS_VIDEO
Continuous auto focus mode intended for video recording.
|
EDOF
Extended depth of field (EDOF).
|
FIXED
Focus is fixed.
|
INFINITY
Focus is set at infinity.
|
MACRO
Macro (close-up) focus mode.
|
| Modifier and Type | Method and Description |
|---|---|
static Cam.FOCUS_MODE |
get(java.lang.String string) |
static Cam.FOCUS_MODE |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Cam.FOCUS_MODE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Cam.FOCUS_MODE AUTO
public static final Cam.FOCUS_MODE INFINITY
public static final Cam.FOCUS_MODE MACRO
public static final Cam.FOCUS_MODE FIXED
public static final Cam.FOCUS_MODE EDOF
public static final Cam.FOCUS_MODE CONTINUOUS_VIDEO
CONTINUOUS_PICTUREpublic static final Cam.FOCUS_MODE CONTINUOUS_PICTURE
CONTINUOUS_VIDEO. Auto focus
starts when the parameter is set.CONTINUOUS_VIDEOpublic static Cam.FOCUS_MODE[] values()
for (Cam.FOCUS_MODE c : Cam.FOCUS_MODE.values()) System.out.println(c);
public static Cam.FOCUS_MODE 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 Cam.FOCUS_MODE get(java.lang.String string)