LensFacing

public abstract @interface LensFacing
implements Annotation

androidx.camera.core.LensFacing


The direction the camera faces relative to device screen.

Summary

Constants

int BACK

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

int FRONT

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

Inherited methods

Constants

BACK

public static final int BACK

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

Constant Value: 1 (0x00000001)

FRONT

public static final int FRONT

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

Constant Value: 0 (0x00000000)