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 | Field and Description |
---|---|
static java.lang.String[] |
FALLBACK_LIST |
java.lang.String |
value |
Modifier and Type | Method and Description |
---|---|
static FocusMode |
get(java.lang.String string) |
static FocusMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FocusMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FocusMode AUTO
public static final FocusMode CONTINUOUS_PICTURE
CONTINUOUS_VIDEO
. Auto focus
starts when the parameter is set.CONTINUOUS_VIDEO
public static final FocusMode CONTINUOUS_VIDEO
CONTINUOUS_PICTURE
public static final FocusMode EDOF
public static final FocusMode FIXED
public static final FocusMode INFINITY
public static final FocusMode MACRO
public static final java.lang.String[] FALLBACK_LIST
public final java.lang.String value
public static FocusMode get(java.lang.String string)
public static FocusMode 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 FocusMode[] values()
for (FocusMode c : FocusMode.values()) System.out.println(c);