camera_get_hue()

Updated: April 19, 2023

Retrieve the hue value configured for the camera

Synopsis:

#include <camera/camera_api.h>
camera_error_t camera_get_hue(camera_handle_t handle,
                              int32_t *hue)

Arguments:

handle
The handle returned by a call to the camera_open() function.
hue
A pointer to an int32_t that is updated with the current hue value.

Library:

libcamapi

Description:

Use this function to retrieve the current hue value for the camera. See also camera_set_hue().

Returns:

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