camera_set_focus_mode()
Configure the focus mode of the camera
Synopsis:
#include <camera/camera_3a.h>camera_error_t camera_set_focus_mode(camera_handle_t handle,
camera_focusmode_t mode)Arguments:
- handle
- The handle returned by a call to the camera_open() function.
- mode
- The focus mode to use.
Library:
libcamapiDescription:
You can use values defined by camera_focusmode_t to set the focus mode of the camera. Use camera_get_focus_modes() to determine the focus modes that are supported by the current camera.
The focus mode is reset to default when the viewfinder is stopped.
Returns:
CAMERA_EOK when the function successfully completes, otherwise another camera_error_t value that provides the reason that the call failed.
Page updated:
