metaState property
final
The modifiers that were present when the key event occurred.
See developer.android.com/reference/android/view/KeyEvent.html#getMetaState() for the numerical values of the metaState. Many of these constants are also replicated as static constants in this class.
See also:
- modifiersPressed, which returns a Map of currently pressed modifiers and their keyboard side.
- isModifierPressed, to see if a specific modifier is pressed.
- isControlPressed, to see if a CTRL key is pressed.
- isShiftPressed, to see if a SHIFT key is pressed.
- isAltPressed, to see if an ALT key is pressed.
- isMetaPressed, to see if a META key is pressed.
Implementation
final int metaState;