Retrieve the focus mode from the camera.
camera_error_t camera_get_focus_mode(camera_handle_t handle, camera_focusmode_t *mode)
The handle returned by a call to the camera_open() function.
A pointer that is updated with the current focus mode of the camera.
The focus mode of the camera is retrieved from the mode pointer that is passed to the function.
CAMERA_OK when the function successfully completes, otherwise another camera_error_t value that provides the reason that the call failed.