# MirrorMode

Artifact: [androidx.camera:camera-core](https://developer.android.com/jetpack/androidx/releases/camera) [View Source](https://cs.android.com/search?q=file:androidx/camera/core/MirrorMode.java+class:androidx.camera.core.MirrorMode) Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/camera#1.3.0)

*** ** * ** ***


```
class MirrorMode
```

<br />

*** ** * ** ***

The mirror mode.

Constants describing image mirroring transforms.

## Summary

| ### Constants |
|---|---|
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/camera/core/MirrorMode#MIRROR_MODE_OFF() = 0` No mirror effect will be applied. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/camera/core/MirrorMode#MIRROR_MODE_ON() = 1` The mirror effect is always applied. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/camera/core/MirrorMode#MIRROR_MODE_ON_FRONT_ONLY() = 2` The mirror effect is applied only when the lens facing of the associated camera is `https://developer.android.com/reference/kotlin/androidx/camera/core/CameraSelector#LENS_FACING_FRONT()`. |

## Constants

### MIRROR_MODE_OFF

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/camera#1.3.0)

```
const val MIRROR_MODE_OFF = 0: Int
```

No mirror effect will be applied.

### MIRROR_MODE_ON

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/camera#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](https://developer.android.com/jetpack/androidx/releases/camera#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 `https://developer.android.com/reference/kotlin/androidx/camera/core/CameraSelector#LENS_FACING_FRONT()`.