Exemplo n.º 1
0
        /// <summary>
        /// Toggles the state of the camera button in toolbar when clicked
        /// </summary>
        public void OnRobotCameraButtonClicked()
        {
            robotCameraGUI.ToggleCameraWindow();

            AnalyticsManager.GlobalInstance.LogEventAsync(AnalyticsLedger.EventCatagory.SensorTab,
                                                          AnalyticsLedger.EventAction.Clicked,
                                                          "Robot Camera",
                                                          AnalyticsLedger.getMilliseconds().ToString());
        }
Exemplo n.º 2
0
 /// <summary>
 /// Toggles the state of the camera button in toolbar when clicked
 /// </summary>
 public void OnRobotCameraButtonPressed()
 {
     robotCameraGUI.ToggleCameraWindow();
 }