public class KeyChannelResponder extends Object
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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
KeyboardManager.Responder.OnKeyEventHandledCallback |
| Constructor and Description |
|---|
KeyChannelResponder(KeyEventChannel keyEventChannel) |
| Modifier and Type | Method and Description |
|---|---|
void |
handleEvent(KeyEvent keyEvent,
KeyboardManager.Responder.OnKeyEventHandledCallback onKeyEventHandledCallback)
Informs this
Responder that a new KeyEvent needs processing. |
public KeyChannelResponder(@NonNull
KeyEventChannel keyEventChannel)
public void handleEvent(@NonNull
KeyEvent keyEvent,
@NonNull
KeyboardManager.Responder.OnKeyEventHandledCallback onKeyEventHandledCallback)
Responder that a new KeyEvent needs processing.