Пример #1
0
        public void Disconnect()
        {
            var tracker = _tracker;

            _tracker = null;
            if (tracker != null)
            {
                DetachEventHandlers(tracker);
                tracker.Dispose();
            }
        }
Пример #2
0
 public TobiiProTracker(Tobii.Research.IEyeTracker tracker)
 {
     _tracker = tracker;
 }
Пример #3
0
 private void DetachEventHandlers(Tobii.Research.IEyeTracker tracker)
 {
     tracker.ConnectionLost     -= Tracker_ConnectionLost;
     tracker.TrackBoxChanged    -= Tracker_TrackBoxChanged;
     tracker.DisplayAreaChanged -= Tracker_DisplayAreaChanged;
 }