[][src]Function realsense_sys::rs2_set_notifications_callback_cpp

pub unsafe extern "C" fn rs2_set_notifications_callback_cpp(
    sensor: *const rs2_sensor,
    callback: *mut rs2_notifications_callback,
    error: *mut *mut rs2_error
)

set callback to get notifications from specified device \param[in] sensor RealSense sensor \param[in] callback callback object created from c++ application. ownership over the callback object is moved into the relevant subdevice lock \param[out] error if non-null, receives any error that occurs during this call, otherwise, errors are ignored