Flutter Engine
The Flutter Engine
|
Public Member Functions | |
KeyChannelResponder (@NonNull KeyEventChannel keyEventChannel) | |
void | handleEvent ( @NonNull KeyEvent keyEvent, @NonNull OnKeyEventHandledCallback onKeyEventHandledCallback) |
void | handleEvent ( @NonNull KeyEvent keyEvent, @NonNull OnKeyEventHandledCallback onKeyEventHandledCallback) |
A KeyboardManager.Responder
of KeyboardManager
that handles events by sending the raw information through the method channel.
This class corresponds to the RawKeyboard API in the framework.
Definition at line 17 of file KeyChannelResponder.java.
|
inline |
Definition at line 26 of file KeyChannelResponder.java.
|
inline |
Informs this Responder
that a new KeyEvent
needs processing.
keyEvent | the new KeyEvent this Responder may be interested in. |
onKeyEventHandledCallback | the method to call when this Responder has decided whether to handle the KeyEvent . |
Implements io.flutter.embedding.android.KeyboardManager.Responder.
Definition at line 31 of file KeyChannelResponder.java.