public enum FlashMode
- Object
- Enum<FlashMode>
- FlashMode
ImplementsComparable<FlashMode>
Flash behavior for still capture or continuous illumination.
Enum constants
OFF | Flash never fires. |
ON | Flash fires for every still capture. |
AUTO | Camera decides whether to fire flash based on scene lighting. |
TORCH | Flash stays on continuously as a torch (also lights the preview). |
Methods
public static FlashMode[] values() | |
public static FlashMode valueOf(String name) |
Inherited methods
Enum constant details
OFF
OFFFlash never fires.
ON
ONFlash fires for every still capture.
AUTO
AUTOCamera decides whether to fire flash based on scene lighting.
TORCH
TORCHFlash stays on continuously as a torch (also lights the preview).
Method details
values
public static FlashMode[] values()valueOf
public static FlashMode valueOf(String name)