/// <summary> /// Initialize <see cref="RegusKioskOptionsManager"/> class /// </summary> /// <param name="linkUI">target JetAdvantageLink UI to contorl</param> /// <param name="packageName">package name to control</param> public RegusKioskOptionsManager(JetAdvantageLinkUI linkUI, string packageName) { _linkUI = linkUI; _controller = linkUI.Controller; _controlHelper = new JetAdvantageLinkControlHelper(linkUI, packageName); _packageName = packageName; }
/// <summary> /// JetAdvantageLinkMemoryMonitoring /// </summary> /// <param name="linkUI">Link UI</param> /// <param name="targetPackage">Target Android Package name</param> /// <param name="pluginExecutionData">PluginExecution Data</param> /// <param name="deviceInfo">deviceInfo</param> public JetAdvantageLinkMemoryMonitoring(JetAdvantageLinkUI linkUI, string targetPackage, PluginExecutionData pluginExecutionData, IDeviceInfo deviceInfo) { _linkUI = linkUI; _targetPackage = targetPackage; _pluginExecutionData = pluginExecutionData; _deviceInfo = deviceInfo; }
/// <summary> /// Initializes a new instance of the <see cref="JetAdvantageLinkTriage"/> class. /// </summary> /// <param name="linkUI">JetAdantageLink UI</param> /// <param name="device">Target device</param> /// <param name="pluginExecutionData"></param> public JetAdvantageLinkTriage(IDevice device, JetAdvantageLinkUI linkUI, PluginExecutionData pluginExecutionData) : base(pluginExecutionData) { _linkUI = linkUI; _omniUI = ((JediOmniDevice)device).ControlPanel; _pluginExecutionData = pluginExecutionData; _logger = new TriageDataLog(_pluginExecutionData); }
/// <summary> /// Configuration to prepare job for Each Link Apps. /// <param name="device">The device</param> /// </summary> public KioskApp(IDevice device) { KioskPackageName = $"com.samsung.dpd.kiosk.ui.activity"; LinkUI = new JetAdvantageLinkUI(device); Device = (JediOmniDevice)device; JetAdvantageLinkControlHelper = new JetAdvantageLinkControlHelper(LinkUI, KioskPackageName); KioskOptionManager = new KioskOptionsManager(LinkUI, KioskPackageName); }
/// <summary> /// Configuration to prepare job for Each Link Apps. /// <param name="device">The device</param> /// </summary> public RegusKioskApp(IDevice device) { KioskPackageName = $"com.hp.kiosk"; RegusPackageName = $"com.hp.auth.regus"; LinkUI = new JetAdvantageLinkUI(device); Device = (JediOmniDevice)device; JetAdvantageLinkControlHelper = new JetAdvantageLinkControlHelper(LinkUI, KioskPackageName); KioskOptionManager = new RegusKioskOptionsManager(LinkUI, KioskPackageName); }
/// <summary> /// Configuration to prepare job for Each Link Apps. /// </summary> /// <param name="destinaion"></param> /// <param name="device"></param> public LinkScanApp(LinkScanDestination destinaion, IDevice device) { _destination = destinaion.GetDescription(); LinkScanAppsPackageName = $"com.hp.print.scanapps.{_destination.ToLower()}"; LinkUI = new JetAdvantageLinkUI(device); ScanOptionManager = new JetAdvantageLinkScanOptionManager(LinkUI, LinkScanAppsPackageName); Device = (JediOmniDevice)device; JetAdvantageLinkControlHelper = new JetAdvantageLinkControlHelper(LinkUI, LinkScanAppsPackageName); }
/// <summary> /// Configuration to prepare job for Each Link Apps. /// </summary> /// <param name="device"></param> public iManageApp(IDevice device) { _appName = GetLaunchAppname(); iManageAppsPackageName = $"com.hp.imanageconnector"; LinkUI = new JetAdvantageLinkUI(device); PrintOptionManager = new JetAdvantageLinkPrintOptionManager(LinkUI, iManageAppsPackageName); ScanOptionManager = new JetAdvantageLinkScanOptionManager(LinkUI, iManageAppsPackageName); Device = (JediOmniDevice)device; JetAdvantageLinkControlHelper = new JetAdvantageLinkControlHelper(LinkUI, iManageAppsPackageName); _inactivityTimeLimit = GetInactivityTimeout(); }
/// <summary> /// Create Google Login Manager /// </summary> /// <param name="linkUI"><see cref="JetAdvantageLinkUI"/> to control</param> public GoogleLoginManager(JetAdvantageLinkUI linkUI) { _linkUI = linkUI; }
/// <summary> /// Create Box Login Manager /// </summary> /// <param name="linkUI"><see cref="JetAdvantageLinkUI"/> to control</param> public BoxLoginManager(JetAdvantageLinkUI linkUI) { _linkUI = linkUI; }
/// <summary> /// Create Microsoft Login Manager (Sharepoint and Onedrive) /// </summary> /// <param name="linkUI"><see cref="JetAdvantageLinkUI"/> to control</param> /// <param name="staySignedInPopup">give true if Stay SingnedIn check box appears after login (OneDrive Business)</param> public MicrosoftLoginManager(JetAdvantageLinkUI linkUI, bool staySignedInPopup) { _linkUI = linkUI; _staySignedInPopup = staySignedInPopup; }
/// <summary> /// Create Microsoft Login Manager (Sharepoint and Onedrive) /// </summary> /// <param name="linkUI"><see cref="JetAdvantageLinkUI"/> to control</param> public MicrosoftLoginManager(JetAdvantageLinkUI linkUI) { _linkUI = linkUI; _staySignedInPopup = false; }
/// <summary> /// Create Dropbox Login Manager /// </summary> /// <param name="linkUI"><see cref="JetAdvantageLinkUI"/> to control</param> public DropBoxLoginManager(JetAdvantageLinkUI linkUI) { _linkUI = linkUI; GoogleSignIn = new GoogleLoginManager(_linkUI); }