| Flutter iOS Embedder |

Instance Methods | List of all members
<FlutterKeyPrimaryResponder> Protocol Reference

`#import <FlutterKeyPrimaryResponder.h>`

Inheritance diagram for <FlutterKeyPrimaryResponder>:

## Instance Methods
(void) | - handlePress:callback:

## Detailed Description

An interface for a responder that can process a key press event and decides whether to handle the event asynchronously.

To use this class, add it to a |FlutterKeyboardManager| with |addPrimaryResponder|.

Definition at line 19 of file FlutterKeyPrimaryResponder.h.

## Method Documentation

## ◆ handlePress:callback:

- (void) handlePress: |  | (nonnull FlutterUIPressProxy *) | press
callback: |  | (ios(13.4)) | API_AVAILABLE
| required

Process the event.

The |callback| should be called with a value that indicates whether the responder has handled the given press event. The |callback| must be called exactly once, and can be called before the return of this method, or after.

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

- shell/platform/darwin/ios/framework/Source/FlutterKeyPrimaryResponder.h