public interface AndroidDeviceActionShortcuts extends DeviceActionShortcuts
| Modifier and Type | Method and Description |
|---|---|
void |
sendKeyEvent(int key)
Send a key event to the device
|
void |
sendKeyEvent(int key,
Integer metastate)
Send a key event along with an Android metastate to an Android device
Metastates are things like *shift* to get uppercase characters
|
hideKeyboardvoid sendKeyEvent(int key)
key - code for the key pressed on the devicevoid sendKeyEvent(int key,
Integer metastate)
key - code for the key pressed on the Android devicemetastate - metastate for the keypressAndroidKeyCode,
AndroidKeyMetastateCopyright © 2015. All rights reserved.