is_whitebalance_mode_valid_func_t

Updated: October 26, 2022

Query if the specified white balance mode is valid

Synopsis:

#include <camera/external_camera_api.h>
typedef bool(* is_whitebalance_mode_valid_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 query (see camera_whitebalancemode_t).

Library:

libcamapi

Description:

This function is used to determine if a white balance mode is supported prior to calling set_whitebalance_mode_func_t.

Note:

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

Returns:

true if the mode is supported, false otherwise