camera_get_exposure_mode()

Updated: April 19, 2023

Retrieve the exposure mode from the camera

Synopsis:

#include <camera/camera_3a.h>
camera_error_t camera_get_exposure_mode(camera_handle_t handle,
                                        camera_exposuremode_t *mode)

Arguments:

handle
The handle returned by a call to the camera_open() function.
mode
A pointer to a camera_exposuremode_t that will be updated with the current exposure mode of the camera.

Library:

libcamapi

Description:

Use this function to query the current exposure mode of the camera. See also camera_set_exposure_mode().

Returns:

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