public class KeyCodeEntry
extends java.lang.Object
| Constructor and Description |
|---|
KeyCodeEntry(int keyCode)
This constructor initializes the meta state active flag bitmask to 0.
|
KeyCodeEntry(int keyCode,
int metaState)
This constructor initializes the key code and the meta state active flag.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getKeyCode()
Gets the internal Android KeyCode value.
|
int |
getMetaState()
Gets the internal Android meta state value.
|
public KeyCodeEntry(int keyCode,
int metaState)
keyCode - int it specifies the Android KeyEvent key code. Use android.view.KeyEvent keycode
constant identifiers.metaState - int it specifies meta state active flag as a bitmask.public KeyCodeEntry(int keyCode)
keyCode - int it specifies the Android KeyEvent key code.