public static ScreenData GetUpdatedDeviceOrientation()
        {
            ScreenData device_orientation = new ScreenData();

            device_orientation.Update();

            return(device_orientation);
        }
 private void UpdateScreenOrientation()
 {
     isReady = false;
     screen.Update();
     if (OnScreenDataChange != null)
     {
         OnScreenDataChange(screen);
     }
     isReady = true;
 }