Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | List of all members
io.flutter.embedding.android.KeyboardManager.ViewDelegate Interface Reference
Inheritance diagram for io.flutter.embedding.android.KeyboardManager.ViewDelegate:
io.flutter.embedding.android.FlutterView

Public Member Functions

BinaryMessenger getBinaryMessenger ()
 
boolean onTextInputKeyEvent (@NonNull KeyEvent keyEvent)
 
void redispatch (@NonNull KeyEvent keyEvent)
 

Detailed Description

A set of interfaces that the KeyboardManager needs to interact with other components and the platform, and is typically implements by FlutterView.

Definition at line 165 of file KeyboardManager.java.

Member Function Documentation

◆ getBinaryMessenger()

BinaryMessenger io.flutter.embedding.android.KeyboardManager.ViewDelegate.getBinaryMessenger ( )

Returns a BinaryMessenger to send platform messages with.

Implemented in io.flutter.embedding.android.FlutterView.

◆ onTextInputKeyEvent()

boolean io.flutter.embedding.android.KeyboardManager.ViewDelegate.onTextInputKeyEvent ( @NonNull KeyEvent  keyEvent)

Send a KeyEvent that is not handled by the keyboard responders to the text input system.

Parameters
keyEventthe KeyEvent that should be processed by the text input system. It must not be null.
Returns
Whether the text input handles the key event.

Implemented in io.flutter.embedding.android.FlutterView.

◆ redispatch()

void io.flutter.embedding.android.KeyboardManager.ViewDelegate.redispatch ( @NonNull KeyEvent  keyEvent)

Send a KeyEvent that is not handled by Flutter back to the platform.

Implemented in io.flutter.embedding.android.FlutterView.


The documentation for this interface was generated from the following file: