Updated: October 28, 2024 |
Register a callback to notify users about stream status changes
#include <camera/external_camera_api.h>
typedef int(* register_status_callback_func_t)(void *handle, camera_unit_t unit, status_callback func);
This function registers a function that can be called by the external camera library to notify users of a change in stream status.
This function is optional. If it is not present, no status callback updates will be provided by the external camera library.
CAMERA_EOK when the function successfully completes, otherwise another camera_error_t value that provides the reason that the call failed.