public static enum Cam.FLASH_MODE extends java.lang.Enum<Cam.FLASH_MODE>
| Enum Constant and Description |
|---|
AUTO
Flash will be fired automatically when required.
|
OFF
Flash will not be fired.
|
ON
Flash will always be fired during snapshot.
|
RED_EYE
Flash will be fired in red-eye reduction mode.
|
TORCH
Constant emission of light during preview, auto-focus and snapshot.
|
| Modifier and Type | Method and Description |
|---|---|
static Cam.FLASH_MODE |
get(java.lang.String string) |
static Cam.FLASH_MODE |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Cam.FLASH_MODE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Cam.FLASH_MODE ON
public static final Cam.FLASH_MODE OFF
public static final Cam.FLASH_MODE AUTO
public static final Cam.FLASH_MODE TORCH
public static final Cam.FLASH_MODE RED_EYE
public static Cam.FLASH_MODE[] values()
for (Cam.FLASH_MODE c : Cam.FLASH_MODE.values()) System.out.println(c);
public static Cam.FLASH_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.FLASH_MODE get(java.lang.String string)