- This topic has 1 reply, 1 voice, and was last updated 9 years ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Home › Forums › Legacy SDKs › GetDeviceInfoAsync
Tagged: Async, c++, Callback, DeviceInfo
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!
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;
}