get_default_wb_mode_func_t

Updated: April 19, 2023

Retrieve the default white balance mode for the camera

Synopsis:

#include <camera/external_camera_api.h>
typedef camera_whitebalancemode_t(* get_default_wb_mode_func_t)(void *handle);

Arguments:

handle
The handle that's returned from calling the function open_external_camera_func_t.

Library:

libcamapi

Description:

This function returns the default white balance mode that should be used for this camera.

Note:

This function is optional. If it is not present, the default mode of CAMERA_WHITEBALANCEMODE_AUTO will be used for this camera.

Returns:

A camera_whitebalancemode_t value indicating the default white balance mode.