Updated: October 28, 2024 |
Retrieve the device status details from a status event
#include <camera/camera_api.h>
camera_error_t camera_get_status_details(camera_handle_t handle, union sigval value, camera_devstatus_t *devstatus, uint16_t *devstatusextra)
Use this function to retrieve device status details from the sigval returned by a status event.
Status events are enabled using camera_enable_status_event(). For more information about event mode, see Using event mode.
CAMERA_EOK when the function successfully completes, otherwise another camera_error_t value that provides the reason that the call failed.