Flutter iOS Embedder
FlutterKeySecondaryResponder.h
Go to the documentation of this file.
1 // Copyright 2013 The Flutter Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERKEYSECONDARYRESPONDER_H_
6 #define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERKEYSECONDARYRESPONDER_H_
7 
9 
10 /**
11  * An interface for a responder that can process a key event and synchronously
12  * decide whether to handle the event.
13  *
14  * To use this class, add it to a |FlutterKeyboardManager| with
15  * |addSecondaryResponder|.
16  */
18 
19 /**
20  * Informs the receiver that the user has interacted with a key.
21  *
22  * The return value indicates whether it has handled the given event.
23  *
24  * Default implementation returns NO.
25  */
26 @required
27 
28 - (BOOL)handlePress:(nonnull FlutterUIPressProxy*)press API_AVAILABLE(ios(13.4));
29 @end
30 
31 #endif // FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERKEYSECONDARYRESPONDER_H_
FlutterKeySecondaryResponder-p
Definition: FlutterKeySecondaryResponder.h:17
FlutterUIPressProxy
Definition: FlutterUIPressProxy.h:17
FlutterUIPressProxy.h