Retrieve the focus state of the camera.
camera_error_t camera_get_focus_state(camera_handle_t handle, camera_focusstate_t *state, camera_region_t *region)
The handle returned by a call to the camera_open() function.
A pointer to a camera_focusstate_t value that will be updated with the focus state of the camera.
Library:libcamapi (For the qcc command, use the -l camapi option to link against this library)
Determine The focus state and the region of focus. Typically, you call this function when a status event of type CAMERA_STATUS_FOCUS_CHANGE is received.
The viewfinder must be running before using this function.
Last modified: 2014-06-24