示例#1
0
 /// <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;
 }
示例#3
0
 /// <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);
 }
示例#4
0
 /// <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);
 }
示例#5
0
 /// <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);
 }
示例#6
0
 /// <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);
 }
示例#7
0
        /// <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();
        }
示例#8
0
 /// <summary>
 /// Create Google Login Manager
 /// </summary>
 /// <param name="linkUI"><see cref="JetAdvantageLinkUI"/> to control</param>
 public GoogleLoginManager(JetAdvantageLinkUI linkUI)
 {
     _linkUI = linkUI;
 }
示例#9
0
 /// <summary>
 /// Create Box Login Manager
 /// </summary>
 /// <param name="linkUI"><see cref="JetAdvantageLinkUI"/> to control</param>
 public BoxLoginManager(JetAdvantageLinkUI linkUI)
 {
     _linkUI = linkUI;
 }
示例#10
0
 /// <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;
 }
示例#11
0
 /// <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);
 }