FlashMode
public
final
enum
FlashMode
extends Enum<FlashMode>
| java.lang.Object | ||
| ↳ | java.lang.Enum<androidx.camera.core.FlashMode> | |
| ↳ | androidx.camera.core.FlashMode | |
The flash mode options when taking a picture using ImageCapture.
Summary
Enum values | |
|---|---|
FlashMode |
AUTO
Auto flash. |
FlashMode |
OFF
No flash. |
FlashMode |
ON
Always flash. |
Public methods | |
|---|---|
static
FlashMode
|
valueOf(String name)
|
static
final
FlashMode[]
|
values()
|
Inherited methods | |
|---|---|
Enum values
AUTO
public static final FlashMode AUTO
Auto flash. The flash will be used according to the camera system's determination when taking a picture.
ON
public static final FlashMode ON
Always flash. The flash will always be used when taking a picture.
Public methods
Interfaces
Classes
Enums
Exceptions
Content and code samples on this page are subject to the licenses described in the Content License. Java is a registered trademark of Oracle and/or its affiliates.