[−][src]Function realsense_sys::rs2_set_notifications_callback
pub unsafe extern "C" fn rs2_set_notifications_callback(
sensor: *const rs2_sensor,
on_notification: rs2_notification_callback_ptr,
user: *mut c_void,
error: *mut *mut rs2_error
)
set callback to get notifications from specified sensor \param[in] sensor RealSense device \param[in] on_notification function pointer to register as per-notifications callback \param[out] error if non-null, receives any error that occurs during this call, otherwise, errors are ignored