camera_get_status_details()
Retrieve status details from a status event.
Synopsis:
#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)
Arguments:
- handle
-
The handle returned by a call to the camera_open() function.
- value
-
The sigval received from the status event.
- devstatus
-
The returned device status details.
- devstatusextra
-
The returned extra device status details.
Library:
libcamapiDescription:
Use this function to parse device status details from the sigval returned from a status event.
Returns:
CAMERA_OK when the function successfully completes, otherwise another camera_error_t value that provides the reason that the call failed.