camera_config_videolight()

Change the video-light on the camera.

Synopsis:

#include <camera/camera_api.h>
 
camera_error_t camera_config_videolight(camera_handle_t handle, camera_videolightmode_t mode)

Arguments:

handle

The handle returned by a call to the camera_open() function.

mode

The desired video-light mode to set the camera to.

Library:

libcamapi

Description:

This function can be called if the CAMERA_FEATURE_VIDEOLIGHT feature is available. You can determine whether the feature is available by calling the camera_can_feature() function. You specify the video-light mode to set using the mode argument.

Returns:

CAMERA_OK when the function successfully completes, otherwise another camera_error_t value that provides the reason that the call failed.