Home Forums Legacy SDKs GetDeviceInfoAsync

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1587
    Alejandro Clemotte
    Participant

    Hi, someone knows how to use the method GetDeviceInfoAsync();

    I tried with:

    _eyetracker.GetDeviceInfoAsync(OnGetDeviceInfoCompleted);

    And my callback function is like this:

    private void onGetDevice(DeviceInfoCallback DeviceInfo){ }

    I am not good enought with C#, I know.

    Thanks!

    #1588
    Alejandro Clemotte
    Participant

    I answer my self:

    You call with:
    _eyeTracker.GetDeviceInfoAsync(OnDeviceInfoCompleted);

    And the callback function is:

    private void OnDeviceInfoCompleted(DeviceInfo deviceInfo, Tobii.Gaze.Core.ErrorCode errorCode)
    {
    DeviceInfo EyeTrackerInfo = deviceInfo;
    }

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