Home Forums Software Development Incomplete or incorrect official C# bindings for Tobii Stream Engine

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #18384
    Hongbin Zou
    Participant

    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.

    #18400
    Grant [Tobii]
    Keymaster

    Hi @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.

    #18403
    Hongbin Zou
    Participant

    Well 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.

    #18404
    Grant [Tobii]
    Keymaster

    Thank you for your feedback, I have passed along your comments to the development team for review.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.