Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package io.appium.java_client.android;
 
 
 public interface AndroidDeviceActionShortcuts extends DeviceActionShortcuts {

Send a key event to the device

Parameters:
key code for the key pressed on the device
	public void sendKeyEvent(int key);

Send a key event along with an Android metastate to an Android device Metastates are things like *shift* to get uppercase characters

Parameters:
key code for the key pressed on the Android device
metastate metastate for the keypress
See also:
AndroidKeyCode
AndroidKeyMetastate
	public void sendKeyEvent(int keyInteger metastate);
New to GrepCode? Check out our FAQ X