| Flutter iOS Embedder |

FlutterChannelKeyResponder.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_FLUTTER_CHANNEL_KEY_RESPONDER_H_
6 #define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTER_CHANNEL_KEY_RESPONDER_H_
7
8 #import "flutter/shell/platform/darwin/ios/framework/Source/FlutterKeyPrimaryResponder.h"
9
10 #import <UIKit/UIKit.h>
11
12 #import "flutter/shell/platform/darwin/common/framework/Headers/FlutterChannels.h"
13
14 /**
15 * A primary responder of |FlutterKeyboardManager| that handles events by
16 * sending the raw information through a method channel.
17 *
18 * This class corresponds to the RawKeyboard API in the framework.
19 */
20 @interface FlutterChannelKeyResponder : NSObject <FlutterKeyPrimaryResponder>
21
22 /**
23 * Create an instance by specifying the method channel to use.
24 */
25 - (nonnull instancetype)initWithChannel:(nonnull FlutterBasicMessageChannel*)channel;
26
27 @end
28
29 #endif // FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTER_CHANNEL_KEY_RESPONDER_H_
FlutterBasicMessageChannel
Definition: FlutterChannels.h:39
FlutterKeyPrimaryResponder-p
Definition: FlutterKeyPrimaryResponder.h:19
FlutterChannels.h
FlutterKeyPrimaryResponder.h
FlutterChannelKeyResponder
Definition: FlutterChannelKeyResponder.h:20