ExtensionMode

public final class ExtensionMode
extends Object

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


The available modes for the extensions.

Summary

Constants

int AUTO

Automatically adjusts the final image with the surrounding scenery.

int BOKEH

Makes foreground people sharper when photos are taken in portrait mode.

int FACE_RETOUCH

Retouches face skin tone, geometry and so on when taking still images.

int HDR

Takes photos with different AE settings to generate the best result.

int NIGHT

Gets the best still 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

Automatically adjusts the final image with the surrounding scenery.

Constant Value: 5 (0x00000005)

BOKEH

public static final int BOKEH

Makes foreground people sharper when photos are taken in portrait mode.

Constant Value: 1 (0x00000001)

FACE_RETOUCH

public static final int FACE_RETOUCH

Retouches face skin tone, geometry and so on when taking still images.

Constant Value: 4 (0x00000004)

HDR

public static final int HDR

Takes photos with different AE settings to generate the best result.

Constant Value: 2 (0x00000002)

NIGHT

public static final int NIGHT

Gets the best still 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)