The Android Developer Challenge is back! Submit your idea before December 2.

LensFacing

class LensFacing
kotlin.Any
   ↳ kotlin.Enum<androidx.camera.core.CameraX.LensFacing>
   ↳ androidx.camera.core.CameraX.LensFacing

The direction the camera faces relative to device screen.

Summary

Enum values

A camera on the device facing the opposite direction as the device's screen.

A camera on the device facing the same direction as the device's screen.

Enum values

BACK

enum val BACK : CameraX.LensFacing

A camera on the device facing the opposite direction as the device's screen.

FRONT

enum val FRONT : CameraX.LensFacing

A camera on the device facing the same direction as the device's screen.