Presses a certain Android-specific key code. This method is not supported on iOS.
For additional information about the supported Android key codes, refer to the Appium documentation.
device.PressKeyCode(keyCode, [metaState])
device.PressKeyCode(keyCode, [metaState])
Variable | Description |
---|---|
keyCode | The desired key code to press. Integer. |
metaState | Optional: the meta state of a key code. For example:
|