Esempio n. 1
0
 /// <summary>
 /// Sets the Orientation - Portrait or Landscape
 /// </summary>
 /// <param name="orientation">Orientation type set Potrait or Landscape </param>
 public void SetOrientation(ContentOrientation orientation)
 {
     ScrollToOption("CopyContentOrientationDialogButton");
     _controlPanel.PressWait("CopyContentOrientationDialogButton", "ContentOrientationDialog", _waitTimeSpan);
     _controlPanel.Press(orientation.ToString().ToLower(CultureInfo.InvariantCulture));
     _controlPanel.PressWait("m_OKButton", "CopyAppMainForm", _waitTimeSpan);
 }
Esempio n. 2
0
    /// <summary>
    /// Sets the orientationui ignite.
    /// </summary>
    /// <param name="orientation">Orientation.</param>
    public static void SetOrientationUIIgnite(ContentOrientation orientation)
    {
        FuelSDKCommon.Log(FuelSDKCommon.LogLevel.DEBUG, "setting the ignite UI orientation: " + orientation.ToString());

        if (!Application.isEditor)
        {
            GetFuelSDKPlatform().SetOrientationUIIgnite(orientation);
        }
    }
Esempio n. 3
0
        /// <summary>
        /// Selects the Content Orientation  for the scanned file
        /// </summary>
        /// <param name="contentOrientation">content orientation to select(case sensitive).</param>
        public void SelectContentOrientation(ContentOrientation contentOrientation)
        {
            OpenOptionsPanel();

            if (!_controlPanel.ScrollPressWait("#hpid-option-content-orientation", "#hpid-option-content-orientation-screen", TimeSpan.FromSeconds(5)))
            {
                throw new DeviceWorkflowException("Unable to select content orientation option.");
            }

            Pacekeeper.Sync();
            _controlPanel.ScrollPressWait($"#hpid-content-orientation-selection-{contentOrientation.ToString().ToLower()}", ".hp-option-list");
        }
Esempio n. 4
0
        /// <summary>
        /// Sets the Orientation - Portrait or Landscape
        /// </summary>
        /// <param name="orientation">Orientation type set Potrait or Landscape </param>
        public void SetOrientation(ContentOrientation orientation)
        {
            if (orientation != ContentOrientation.None)
            {
                OpenOptionsPanel();
                _device.ControlPanel.ScrollPressWait("#hpid-option-content-orientation", "#hpid-option-content-orientation-screen", _activeScreenTimeout);

                //Selecting Orientation value
                _device.ControlPanel.ScrollPress(string.Equals(orientation.ToString(), "Portrait", StringComparison.CurrentCultureIgnoreCase) ? "#hpid-content-orientation-selection-portrait" : "#hpid-content-orientation-selection-landscape");
                Pacekeeper.Pause();
            }
        }
Esempio n. 5
0
 /// <summary>
 /// Selects the Content Orientation  for the scanned file
 /// </summary>
 /// <param name="contentOrientation">content orientation.</param>
 void INetworkFolderJobOptions.SelectContentOrientation(ContentOrientation contentOrientation)
 {
     throw new NotImplementedException($"SelectContentOrientation with setting {contentOrientation} feature is not implemented on SiriusUIv3 devices");
 }
Esempio n. 6
0
	/// <summary>
	/// Sets the orientationui ignite.
	/// </summary>
	/// <param name="orientation">Orientation.</param>
	public static void SetOrientationUIIgnite (ContentOrientation orientation) {
		FuelSDKCommon.Log (FuelSDKCommon.LogLevel.DEBUG, "setting the ignite UI orientation: " + orientation.ToString ());
		
		if (!Application.isEditor) {
			GetFuelSDKPlatform().SetOrientationUIIgnite (orientation);
		}
	}
Esempio n. 7
0
 /// <summary>
 /// Selects the Content Orientation  for the scanned file
 /// </summary>
 /// <param name="contentOrientation">content orientation.</param>
 public void SelectContentOrientation(ContentOrientation contentOrientation)
 {
     throw new NotImplementedException($"SelectContentOrientation with setting {contentOrientation} feature is not implemented on JediWindjammer devices");
 }
 /// <summary>
 /// Selects the Content Orientation  for the scanned file
 /// </summary>
 /// <param name="contentOrientation">content orientation.</param>
 public void SelectContentOrientation(ContentOrientation contentOrientation)
 {
     throw new NotImplementedException($"Select content orientation has not been implemented for Phoenix Nova devices.");
 }
 /// <summary>
 /// Selects the Content Orientation  for the scanned file
 /// </summary>
 /// <param name="contentOrientation">content orientation.</param>
 void IEmailJobOptions.SelectContentOrientation(ContentOrientation contentOrientation)
 {
     throw new NotImplementedException($"SelectContentOrientation with setting {contentOrientation} feature is not implemented on PhoenixMagicFrame devices");
 }
 /// <summary>
 /// Sets the Orientation - Portrait or Landscape
 /// </summary>
 /// <param name="orientation">Orientation type set Potrait or Landscape </param>
 public void SetOrientation(ContentOrientation orientation)
 {
     throw new NotImplementedException("Set Orientation job not implemented");
 }