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