set_whitebalance_mode_func_t

Updated: October 26, 2022

Set the white balance mode

Synopsis:

#include <camera/external_camera_api.h>
typedef int(* set_whitebalance_mode_func_t)(void *handle,
            camera_whitebalancemode_t mode);

Arguments:

handle
The handle that's returned from calling the function open_external_camera_func_t.
mode
The white balance mode to set (see camera_whitebalancemode_t).

Library:

libcamapi

Description:

This function sets a new white balance mode.
Note:

This function is optional. If it is not present, changing the white balance mode will not be supported for this camera.

Returns:

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