5 #ifndef FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERENGINE_TEST_H_
6 #define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERENGINE_TEST_H_
8 #import "flutter/shell/common/shell.h"
12 #include "flutter/shell/platform/embedder/embedder.h"
23 @property(readonly, nonatomic) FlutterEngineProcTable& embedderAPI;
24 @property(readonly, nonatomic) BOOL enableEmbedderAPI;
25 @property(readonly, nonatomic) BOOL allowHeadlessExecution;
26 @property(nonatomic, readonly) NSMutableDictionary* pluginPublications;
30 - (
flutter::PlatformViewIOS*)platformView;
33 - (void)waitForFirstFrame:(NSTimeInterval)timeout callback:(
void (^)(BOOL didTimeout))callback;
35 libraryURI:( NSString*)libraryURI
36 initialRoute:( NSString*)initialRoute
37 entrypointArgs:( NSArray<NSString*>*)entrypointArgs
39 - (const
flutter::ThreadHost&)threadHost;
40 - (void)updateDisplays;
41 - (void)sendDisplayWithScreenNativeSize:(CGSize)screenNativeSize scale:(CGFloat)scale;
43 performAction:(FlutterTextInputAction)action
44 withClient:(
int)client;
45 - (void)sceneWillEnterForeground:(NSNotification*)notification API_AVAILABLE(ios(13.0));
46 - (void)sceneDidEnterBackground:(NSNotification*)notification API_AVAILABLE(ios(13.0));
47 - (void)applicationWillEnterForeground:(NSNotification*)notification;
48 - (void)applicationDidEnterBackground:(NSNotification*)notification;
49 - (NSString*)lookupKeyForAsset:(NSString*)asset;
50 - (NSString*)lookupKeyForAsset:(NSString*)asset fromPackage:(NSString*)package;