camera_get_manual_white_balance()

Retrieve the manual white balance color temperature

Synopsis:

#include <camera/camera_3a.h>
camera_error_t camera_get_manual_white_balance(camera_handle_t handle,
                                               unsigned *whitebalancevalue)

Arguments:

handle
The handle returned by a call to the camera_open() function.
whitebalancevalue
A pointer to an integer that will be updated with the manual white balance color temperature value (in Kelvin).

Library:

libcamapi

Description:

Use this function to retrieve the current manual white balance color temperature. If no white balance value was set, a default white balance value is returned. To see how to set the white balance, see camera_set_manual_white_balance().

Returns:

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