is_exposure_mode_valid_func_t

Updated: April 19, 2023

Determine if an exposure mode is valid

Synopsis:

#include <camera/external_camera_api.h>
typedef bool(* is_exposure_mode_valid_func_t)(void *handle,
             camera_exposuremode_t mode);

Arguments:

handle
The handle that's returned from calling the function open_external_camera_func_t.
mode
The exposure mode to check (see camera_exposuremode_t).

Library:

libcamapi

Description:

This function determines if a given exposure mode is supported by the camera.

Note:

This function is optional. If it is not present, only the default exposure mode will be supported by this camera.

Returns:

true if the exposure mode is valid, false otherwise.