MirrorMode

@RequiresApi(value = 21)
public class MirrorMode


The mirror mode.

Constants describing image mirroring transforms.

Summary

Constants

static final int

No mirror effect will be applied.

static final int

The mirror effect is always applied.

static final int

The mirror effect is applied only when the lens facing of the associated camera is LENS_FACING_FRONT.

Constants

MIRROR_MODE_OFF

Added in 1.3.0
public static final int MIRROR_MODE_OFF = 0

No mirror effect will be applied.

MIRROR_MODE_ON

Added in 1.3.0
public static final int MIRROR_MODE_ON = 1

The mirror effect is always applied.

MIRROR_MODE_ON_FRONT_ONLY

Added in 1.3.0
public static final int MIRROR_MODE_ON_FRONT_ONLY = 2

The mirror effect is applied only when the lens facing of the associated camera is LENS_FACING_FRONT.