public void RequestTracker(GazeManager.ClientMode mode, GazeManager.ApiVersion version)
        {
            TrackerSetRequest gr = new TrackerSetRequest();

            gr.Values.Version = (int)version.GetTypeCode();
            gr.Values.Push = mode == GazeManager.ClientMode.Push;

            Request(JsonConvert.SerializeObject(gr));
        }
        public void RequestScreenSwitch(int screenIndex, int screenResW, int screenResH, float screenPsyW, float screenPsyH)
        {
            TrackerSetRequest gr = new TrackerSetRequest();

            gr.Values.ScreenIndex = screenIndex;
            gr.Values.ScreenResolutionWidth = screenResW;
            gr.Values.ScreenResolutionHeight = screenResH;
            gr.Values.ScreenPhysicalWidth = screenResW;
            gr.Values.ScreenPhysicalHeight = screenResH;

            Request(JsonConvert.SerializeObject(gr));
        }