Flutter Engine
The Flutter Engine
Instance Methods | Properties | List of all members
FlutterKeyPendingResponse Struct Reference
Inheritance diagram for FlutterKeyPendingResponse:

Instance Methods

(nonnull instancetype) - initWithHandler:responseId:
 
(instancetype) - initWithHandler:responseId: [implementation]
 

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|.

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

Definition at line 256 of file FlutterEmbedderKeyResponder.mm.

Method Documentation

◆ initWithHandler:responseId: [1/2]

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

Definition at line 260 of file FlutterEmbedderKeyResponder.mm.

269 responseId:(uint64_t)responseId {
270 self = [super init];
271 if (self != nil) {
272 _responder = responder;
273 _responseId = responseId;
274 }
275 return self;
276}
FlutterEmbedderKeyResponder * responder

◆ initWithHandler:responseId: [2/2]

- (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 struct was generated from the following files: