Hi, You can use the
Camera2Interop API to set the manual mode options to the camera.
The Camera2Interop API may override the settings from CameraX library, please reference the
developer document to control the camera.
Some sample code may looks like:
```
val provider = ProcessCameraProvider.getInstance(requireContext()).await()
val camera = provider.bindToLifecycle(
viewLifecycleOwner,
CameraSelector.DEFAULT_BACK_CAMERA,
preview,
analysis,
capture
)
camera.setISO()
```
```
private suspend fun Camera.setISO() {
val control = Camera2CameraControl.from(cameraControl)
control.setCaptureRequestOptions(CaptureRequestOptions.Builder().apply {
setCaptureRequestOption(CaptureRequest.CONTROL_AE_MODE, CameraMetadata.CONTROL_AE_MODE_OFF)
setCaptureRequestOption(CaptureRequest.SENSOR_SENSITIVITY, 50)
}.build()).await()
}
```