# Config.FlashMode

`
public static final enum
Config.FlashMode
` Selects the desired behavior of the camera flash subsystem. By default, the flash mode is set
to `https://developers.google.com/ar/reference/java/com/google/ar/core/Config.FlashMode#OFF`. See the [documentation page](https://developers.google.com/ar/develop/camera/flash/java) for
more information on using the device's flash.

## Inherited Methods

From `class
java.lang.Enum`

|---|---|
| ` final https://developer.android.com/reference/java/lang/Object ` | `clone()` |
| ` final int ` | `compareTo(https://developers.google.com/ar/reference/java/com/google/ar/core/Config.FlashMode arg0)` |
| ` int ` | `compareTo(https://developer.android.com/reference/java/lang/Object arg0)` |
| ` final Optional<EnumDesc<https://developers.google.com/ar/reference/java/com/google/ar/core/Config.FlashMode>> ` | `describeConstable()` |
| ` final boolean ` | `equals(https://developer.android.com/reference/java/lang/Object arg0)` |
| ` final void ` | `finalize()` |
| ` final https://developer.android.com/reference/java/lang/Class<https://developers.google.com/ar/reference/java/com/google/ar/core/Config.FlashMode> ` | `getDeclaringClass()` |
| ` final int ` | `hashCode()` |
| ` final https://developer.android.com/reference/java/lang/String ` | `name()` |
| ` final int ` | `ordinal()` |
| ` https://developer.android.com/reference/java/lang/String ` | `toString()` |
| ` static <T extends https://developer.android.com/reference/java/lang/Enum<T>> T ` | `valueOf(https://developer.android.com/reference/java/lang/Class<T> arg0, https://developer.android.com/reference/java/lang/String arg1)` |

From `class
java.lang.Object`

|---|---|
| ` https://developer.android.com/reference/java/lang/Object ` | `clone()` |
| ` boolean ` | `equals(https://developer.android.com/reference/java/lang/Object arg0)` |
| ` void ` | `finalize()` |
| ` final https://developer.android.com/reference/java/lang/Class<?> ` | `getClass()` |
| ` int ` | `hashCode()` |
| ` final void ` | `notify()` |
| ` final void ` | `notifyAll()` |
| ` https://developer.android.com/reference/java/lang/String ` | `toString()` |
| ` final void ` | `wait(long arg0, int arg1)` |
| ` final void ` | `wait(long arg0)` |
| ` final void ` | `wait()` |

From `interface
java.lang.constant.Constable`

|---|---|
| ` abstract Optional<? extends ConstantDesc> ` | `describeConstable()` |

From `interface
java.lang.Comparable`

|---|---|
| ` abstract int ` | `compareTo(https://developers.google.com/ar/reference/java/com/google/ar/core/Config.FlashMode arg0)` |

## Enum Values

#### public
static
final
Config.FlashMode
OFF

### OFF

```java
public static final Config.FlashMode OFF
```
Flash is off.

This is the default mode.

#### public
static
final
Config.FlashMode
TORCH

### TORCH

```java
public static final Config.FlashMode TORCH
```
Flash is on.

Note, this mode has no effect if the device does not support flash.