| Flutter macOS 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_MACOS_FRAMEWORK_SOURCE_FLUTTERCHANNELKEYRESPONDER_H_
6 #define FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERCHANNELKEYRESPONDER_H_
7
8 #import "flutter/shell/platform/darwin/macos/framework/Source/FlutterKeyPrimaryResponder.h"
9
10 #import <Cocoa/Cocoa.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 the method channel.
17 *
18 * This class communicates with 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_MACOS_FRAMEWORK_SOURCE_FLUTTERCHANNELKEYRESPONDER_H_
FlutterBasicMessageChannel
Definition: FlutterChannels.h:37
FlutterKeyPrimaryResponder-p
Definition: FlutterKeyPrimaryResponder.h:18
FlutterChannels.h
FlutterKeyPrimaryResponder.h
FlutterChannelKeyResponder
Definition: FlutterChannelKeyResponder.h:20