camera_get_whitebalance_mode()

Retrieve the white balance mode from the camera.

Synopsis:

#include <camera/camera_api.h>
 
camera_error_t camera_get_whitebalance_mode(camera_handle_t handle,                 
                                            camera_whitebalancemode_t *mode)

Since:

BlackBerry 10.0.0

Arguments:

handle

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

mode

A pointer to a camera_whitebalancemode_t value that is updated with the current white balance mode of the camera.

Library:

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

Description:

Use this function to query the current white balance mode of the camera. See also camera_set_whitebalance_mode().

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.