Home › Forums › Software Development › Incomplete or incorrect official C# bindings for Tobii Stream Engine
- This topic has 3 replies, 2 voices, and was last updated 4 years, 5 months ago by Grant [Tobii].
- AuthorPosts
- 11/07/2020 at 07:45 #18384Hongbin ZouParticipant
In the latest sdk 4.1.0.3, “tobii_calibration_stimulus_points_t” is not defined in Tobii.StreamEngine.Interop.cs, which brings a compiling error.
Please fix this, thanks.13/07/2020 at 11:49 #18400Grant [Tobii]KeymasterHi @dragonus, thanks for your message.
The tobii_calibration_stimulus_points_t is in fact declared within Tobii.StreamEnginePartner.Interop.cs which is part of a partner package that is provided for specialised clients who have signed an NDA with Tobii.
The ability to use tobii_calibration_stimulus_points_t is part of a the custom calibration package within the Stream Engine.
If you feel you require this functionality, and would like to request a quote please let us know.
13/07/2020 at 13:14 #18403Hongbin ZouParticipantWell then why don’t you move those two lines from Tobii.StreamEngine.Interop.cs to Tobii.StreamEnginePartner.Interop.cs:
[DllImport(stream_engine_dll, CallingConvention = CallingConvention.Cdecl, EntryPoint = “tobii_calibration_stimulus_points_get”)]
private static extern tobii_error_t tobii_calibration_stimulus_points_get(IntPtr device, out tobii_calibration_stimulus_points_t stimulus_points);This function is never called in the C# binding, and according to what you said, will never be used by clients without an NDA including me. It does nothing except generating an error. I think it doesn’t belong here.
13/07/2020 at 13:59 #18404Grant [Tobii]KeymasterThank you for your feedback, I have passed along your comments to the development team for review.
- AuthorPosts
- You must be logged in to reply to this topic.