Flutter iOS Embedder
FlutterKeyPendingResponse Class Reference
Inheritance diagram for FlutterKeyPendingResponse:

Instance Methods

(nonnull instancetype) - initWithHandler:responseId:
 

Properties

FlutterEmbedderKeyResponderresponder
 
uint64_t responseId
 

Detailed Description

The invocation context for |HandleResponse|, wrapping |FlutterEmbedderKeyResponder.handleResponse|.

The key responder's functions only accept C-functions as callbacks, as well as arbitrary user_data. In order to send an instance method of |FlutterEmbedderKeyResponder.handleResponse| to the engine's |SendKeyEvent|, we wrap the invocation into a C-function |HandleResponse| and invocation context |FlutterKeyPendingResponse|.

Definition at line 256 of file FlutterEmbedderKeyResponder.mm.

Method Documentation

◆ initWithHandler:responseId:

- (nonnull instancetype) initWithHandler: (nonnull FlutterEmbedderKeyResponder *)  responder
responseId: (uint64_t)  responseId 

Property Documentation

◆ responder

- (FlutterEmbedderKeyResponder*) responder
readatomicweak

Definition at line 258 of file FlutterEmbedderKeyResponder.mm.

◆ responseId

- (uint64_t) responseId
readwritenonatomicassign

Definition at line 260 of file FlutterEmbedderKeyResponder.mm.


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