ExtensionMode

public final class ExtensionMode
extends Object

java.lang.Object
   ↳ androidx.camera.extensions.ExtensionMode


The available modes for the extensions.

Summary

Constants

int AUTO

Auto mode is used for taking still capture images that automatically adjust to the surrounding scenery.

int BEAUTY

Beauty mode is used for taking still capture images that incorporate facial changes like skin tone, geometry, or retouching.

int BOKEH

Bokeh mode that is often applied as portrait mode for people pictures.

int HDR

HDR mode that may get source pictures with different AE settings to generate a best result.

int NIGHT

Night mode is used for taking better still capture images under low-light situations, typically at night time.

int NONE

Normal mode without any specific effect applied.

Inherited methods

Constants

AUTO

public static final int AUTO

Auto mode is used for taking still capture images that automatically adjust to the surrounding scenery.

Constant Value: 5 (0x00000005)

BEAUTY

public static final int BEAUTY

Beauty mode is used for taking still capture images that incorporate facial changes like skin tone, geometry, or retouching.

Constant Value: 4 (0x00000004)

BOKEH

public static final int BOKEH

Bokeh mode that is often applied as portrait mode for people pictures.

Constant Value: 1 (0x00000001)

HDR

public static final int HDR

HDR mode that may get source pictures with different AE settings to generate a best result.

Constant Value: 2 (0x00000002)

NIGHT

public static final int NIGHT

Night mode is used for taking better still capture images under low-light situations, typically at night time.

Constant Value: 3 (0x00000003)

NONE

public static final int NONE

Normal mode without any specific effect applied.

Constant Value: 0 (0x00000000)