LENS_FACING_BACK
added in API level 21
public static final int LENS_FACING_BACK
The camera device faces the opposite direction as the device's screen.
See also:
CameraCharacteristics.LENS_FACING
Constant Value: 1 (0x00000001)
LENS_FACING_EXTERNAL
added in API level 23
public static final int LENS_FACING_EXTERNAL
The camera device is an external camera, and has no fixed facing relative to the device's screen.
See also:
CameraCharacteristics.LENS_FACING
Constant Value: 2 (0x00000002)
LENS_FACING_FRONT
added in API level 21
public static final int LENS_FACING_FRONT
The camera device faces the same direction as the device's screen.
See also:
CameraCharacteristics.LENS_FACING
Constant Value: 0 (0x00000000)
// 获取摄像头类型 Integer facing = characteristics.get(CameraCharacteristics.LENS_FACING);LENS_FACING_BACKadded in API level 21public static final int LENS_FACING_BACKThe camera device f...