Thanks for the clarification. You state in your reply that you “need to save or use ‘gaze data’ for my experiments”.
Please bear in mind that is explicitly prohibited in the Tobii SDK licence agreement.
To that end, it is quite intentional that you cannot bring gaze data into the main function.
Unfortunately then, I cannot offer official advice on how to proceed as we are quite strict with regards to this policy.