Configure the focus assist light.
#include <camera/camera_api.h>
camera_error_t camera_config_focus_assist(camera_handle_t handle,
bool enable)
BlackBerry 10.0.0
The handle returned by a call to the camera_open() function.
A flag that indicates whether or not to enable focus assist. To enable, set to true. To disable, set to false.
The focus assist feature allows for improved focus performance in low-light situations. When focus assist is enabled, the light will be turned on when the camera is running a single autofocus cycle and a low-light condition is detected. A single autofocus cycle can occur in either of the following situations:
Only call this function if the CAMERA_FEATURE_FOCUSASSIST feature is available. You can determine whether this feature is available by calling the camera_can_feature() function.
The viewfinder must be running before using this function.
CAMERA_EOK when the function successfully completes, otherwise another camera_error_t value that provides the reason that the call failed.