Flutter Engine
 
Loading...
Searching...
No Matches
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
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- (void)showShareViewController:(NSString*)content;
18- (void)searchWeb:(NSString*)searchTerm;
19- (void)showLookUpViewController:(NSString*)term;
20@end
21
22namespace flutter {
23
24extern const char* const kOrientationUpdateNotificationName;
25extern const char* const kOrientationUpdateNotificationKey;
26extern const char* const kOverlayStyleUpdateNotificationName;
27extern const char* const kOverlayStyleUpdateNotificationKey;
28
29} // namespace flutter
30
31#endif // FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERPLATFORMPLUGIN_H_
void(^ FlutterResult)(id _Nullable result)
instancetype init NS_UNAVAILABLE
const char *const kOrientationUpdateNotificationKey
const char *const kOverlayStyleUpdateNotificationName
const char *const kOverlayStyleUpdateNotificationKey
const char *const kOrientationUpdateNotificationName