modifiers property
final
The modifiers that were present when the key event occurred.
See android.googlesource.com/platform/prebuilts/fuchsia_sdk/+/main/fidl/fuchsia.ui.input/input_event_constants.fidl for the numerical values of the modifiers. Many of these 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 modifiers;