MirrorMode

@RequiresApi(value = 21)
class MirrorMode


The mirror mode.

Constants describing image mirroring transforms.

Summary

Constants

const Int

No mirror effect will be applied.

const Int

The mirror effect is always applied.

const 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
const val MIRROR_MODE_OFF = 0: Int

No mirror effect will be applied.

MIRROR_MODE_ON

Added in 1.3.0
const val MIRROR_MODE_ON = 1: Int

The mirror effect is always applied.

MIRROR_MODE_ON_FRONT_ONLY

Added in 1.3.0
const val MIRROR_MODE_ON_FRONT_ONLY = 2: Int

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