C# Class WindowsPhoneTestFramework.Server.AutomationController.WindowsPhone.Emulator.Win8EmulatorInputController

The win 8 emulator input controller.
Inheritance: WindowsPhoneTestFramework.Server.WindowsPhoneDeviceController.WindowsPhoneWindowsEmulatorDisplayInputController
Exibir arquivo Open project: Expensify/WindowsPhoneTestFramework Class Usage Examples

Public Methods

Method Description
EnsureHardwareKeyboardDisabled ( ) : void

The ensure hardware keyboard disabled.

EnsureHardwareKeyboardEnabled ( ) : void

The ensure hardware keyboard enabled.

GetEmulator ( System.Management.ManagementScope scope ) : System.Management.ManagementObject

The get emulator.

SendKeyLongPress ( KeyboardKeyCode virtualKeyCode, System.TimeSpan duration ) : void

The send key long press.

SendKeyPress ( VirtualKeyCode hardwareButtonToKeyCode ) : void

The send key press.

Private Methods

Method Description
GetComputerKeyboard ( ) : System.Management.ManagementObject

The get computer keyboard.

GetComputerKeyboard ( System.Management.ManagementObject vm ) : System.Management.ManagementObject

The get computer keyboard.

InvokeMethod ( string methodName, object>.Dictionary parameters ) : System.Management.ManagementBaseObject

The invoke method.

Method Details

EnsureHardwareKeyboardDisabled() public method

The ensure hardware keyboard disabled.
public EnsureHardwareKeyboardDisabled ( ) : void
return void

EnsureHardwareKeyboardEnabled() public method

The ensure hardware keyboard enabled.
public EnsureHardwareKeyboardEnabled ( ) : void
return void

GetEmulator() public static method

The get emulator.
public static GetEmulator ( System.Management.ManagementScope scope ) : System.Management.ManagementObject
scope System.Management.ManagementScope /// The scope. ///
return System.Management.ManagementObject

SendKeyLongPress() public method

The send key long press.
public SendKeyLongPress ( KeyboardKeyCode virtualKeyCode, System.TimeSpan duration ) : void
virtualKeyCode KeyboardKeyCode /// The virtual key code. ///
duration System.TimeSpan /// The duration. ///
return void

SendKeyPress() public method

The send key press.
public SendKeyPress ( VirtualKeyCode hardwareButtonToKeyCode ) : void
hardwareButtonToKeyCode VirtualKeyCode /// The hardware button to key code. ///
return void