Flutter iOS Embedder
FlutterPlatformPlugin.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_FLUTTERPLATFORMPLUGIN_H_
6
#define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERPLATFORMPLUGIN_H_
7
8
#import "
flutter/shell/platform/darwin/common/framework/Headers/FlutterChannels.h
"
9
#import "
flutter/shell/platform/darwin/ios/framework/Headers/FlutterEngine.h
"
10
11
@interface
FlutterPlatformPlugin
: NSObject
12
- (instancetype)init
NS_UNAVAILABLE
;
13
+ (instancetype)new
NS_UNAVAILABLE
;
14
- (instancetype)initWithEngine:(
FlutterEngine
*)engine NS_DESIGNATED_INITIALIZER;
15
- (void)handleMethodCall:(
FlutterMethodCall
*)call result:(
FlutterResult
)result;
16
17
@end
18
19
namespace
flutter
{
20
21
extern
const
char
*
const
kOrientationUpdateNotificationName
;
22
extern
const
char
*
const
kOrientationUpdateNotificationKey
;
23
extern
const
char
*
const
kOverlayStyleUpdateNotificationName
;
24
extern
const
char
*
const
kOverlayStyleUpdateNotificationKey
;
25
26
}
// namespace flutter
27
28
#endif // FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERPLATFORMPLUGIN_H_
FlutterEngine
Definition:
FlutterEngine.h:61
FlutterEngine.h
flutter::kOrientationUpdateNotificationKey
const char *const kOrientationUpdateNotificationKey
Definition:
FlutterPlatformPlugin.mm:36
FlutterChannels.h
flutter::kOrientationUpdateNotificationName
const char *const kOrientationUpdateNotificationName
Definition:
FlutterPlatformPlugin.mm:34
flutter::kOverlayStyleUpdateNotificationKey
const char *const kOverlayStyleUpdateNotificationKey
Definition:
FlutterPlatformPlugin.mm:40
FlutterMethodCall
Definition:
FlutterCodecs.h:220
flutter
Definition:
accessibility_bridge.h:27
flutter::kOverlayStyleUpdateNotificationName
const char *const kOverlayStyleUpdateNotificationName
Definition:
FlutterPlatformPlugin.mm:38
FlutterResult
void(^ FlutterResult)(id _Nullable result)
Definition:
FlutterChannels.h:194
FlutterPlatformPlugin
Definition:
FlutterPlatformPlugin.h:11
NS_UNAVAILABLE
instancetype init NS_UNAVAILABLE
Definition:
FlutterTextInputPlugin.h:169
shell
platform
darwin
ios
framework
Source
FlutterPlatformPlugin.h
Generated by
1.8.17