Flutter macOS Embedder
<FlutterKeyboardManagerDelegate> Protocol Reference

#import <FlutterKeyboardManager.h>

Inheritance diagram for <FlutterKeyboardManagerDelegate>:
FlutterEngine()

Instance Methods

(void) - sendKeyEvent:callback:userData:
 
(nonnull id< FlutterBinaryMessenger >) - binaryMessenger
 

Detailed Description

Definition at line 13 of file FlutterKeyboardManager.h.

Method Documentation

◆ binaryMessenger

- (nonnull id<FlutterBinaryMessenger>) binaryMessenger
required

Get a binary messenger to send channel messages with.

This method is used to create the key data channel and typically forwards to |FlutterEngine.binaryMessenger|.

◆ sendKeyEvent:callback:userData:

- (void) sendKeyEvent: (const FlutterKeyEvent &)  event
callback: (nullable FlutterKeyEventCallback)  callback
userData: (nullable void *)  userData 
required

Dispatch events to the framework to be processed by |HardwareKeyboard|.

This method typically forwards events to |FlutterEngine.sendKeyEvent:callback:userData:|.


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