Stop using the photo viewfinder.
camera_error_t camera_stop_photo_viewfinder(camera_handle_t handle)
The handle returned by a call to the camera_open() function.
You can only stop the viewfinder after you have successfully started it. After you stop running the photo viewfinder, you cannot take photos.
CAMERA_OK when the function successfully completes, otherwise another camera_error_t value that provides the reason that the call failed.