camera_get_manual_white_balance()

Retrieve the manual white balance color temperature.

Synopsis:

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

Since:

BlackBerry 10.2.0

Arguments:

handle

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

whitebalancevalue

A pointer to an integer value that will be updated with the manual white balance color temperature value (in Kelvin).

Library:

libcamapi (For the qcc command, use the -l camapi option to link against this library)

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. See also camera_set_manual_white_balance().

The viewfinder must be running before calling this function.

Returns:

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