List of usage examples for android.hardware.camera2 CameraMetadata LENS_FACING_BACK
int LENS_FACING_BACK
To view the source code for android.hardware.camera2 CameraMetadata LENS_FACING_BACK.
Click Source Link
The camera device faces the opposite direction as the device's screen.
From source file:com.obviousengine.android.focus.ZslFocusCamera.java
@Override public boolean isBackFacing() { return characteristics.get(CameraCharacteristics.LENS_FACING) == CameraMetadata.LENS_FACING_BACK; }