#import <FlutterEngine_Internal.h>
Definition at line 109 of file FlutterEngine.mm.
◆ addSceneLifeCycleDelegate:
◆ attachView [1/2]
◆ attachView [2/2]
◆ createShell:libraryURI:initialRoute: [1/2]
| - (BOOL) createShell: |
|
(NSString *) |
entrypoint |
| libraryURI: |
|
(NSString *) |
libraryURI |
| initialRoute: |
|
(NSString *) |
initialRoute |
|
|
| |
◆ createShell:libraryURI:initialRoute: [2/2]
| - (BOOL) createShell: |
|
(nullable NSString *) |
entrypoint |
| libraryURI: |
|
(nullable NSString *) |
libraryOrNil |
| initialRoute: |
|
(nullable NSString *) |
NS_SWIFT_UI_ACTOR |
|
|
| |
Creates the shell, adopting the calling thread as this engine's platform thread.
Must be called on the main thread; see the FlutterEngine class documentation.
◆ dispatchPointerDataPacket: [1/2]
◆ dispatchPointerDataPacket: [2/2]
◆ enableSemantics:withFlags:
| - (void) enableSemantics: |
|
(BOOL) |
enabled |
| withFlags: |
|
(int64_t) |
flags |
|
|
| |
◆ engineForIdentifier:
| + (nullable FlutterEngine*) engineForIdentifier: |
|
(int64_t) |
identifier |
|
Returns engine for the identifier. The identifier must be valid for an engine that is currently running, otherwise the behavior is undefined.
The identifier can be obtained in Dart code through PlatformDispatcher.instance.engineId.
This function must be called on the main thread.
◆ engineIdentifier
| - (int64_t) engineIdentifier |
|
|
|
◆ installFirstFrameCallback:
| - (void) installFirstFrameCallback: |
|
(void(^)(void)) |
block |
|
◆ launchEngine:libraryURI:entrypointArgs:
| - (void) launchEngine: |
|
(nullable NSString *) |
entrypoint |
| libraryURI: |
|
(nullable NSString *) |
libraryOrNil |
| entrypointArgs: |
|
(nullable NSArray< NSString * > *) |
entrypointArgs |
|
|
| |
◆ notifyLowMemory
◆ notifyViewCreated
| - (void) notifyViewCreated |
|
|
|
◆ notifyViewDestroyed
| - (void) notifyViewDestroyed |
|
|
|
◆ onStatusBarTap
◆ performImplicitEngineCallback
| - (BOOL) performImplicitEngineCallback |
|
|
|
◆ platformPlugin
◆ platformViewShouldAcceptTouchAtTouchBeganLocation:viewId:
| - (BOOL) platformViewShouldAcceptTouchAtTouchBeganLocation: |
|
(flutter::PointData) |
location |
| viewId: |
|
(uint64_t) |
viewId |
|
|
| |
◆ registrarForApplication:
◆ restorationPlugin
◆ sceneLifeCycleDelegate
◆ screenshot:base64Encode:
| - Rasterizer: |
|
(flutter::Rasterizer::ScreenshotType) |
type |
| base64Encode: |
|
(bool) |
base64Encode |
|
|
| |
◆ sendDeepLinkToFramework:completionHandler:
| - (void) sendDeepLinkToFramework: |
|
(NSURL *) |
url |
| completionHandler: |
|
(void(^)(BOOL success)) |
completion |
|
|
| |
◆ sendKeyEvent:callback:userData:
| - (void) sendKeyEvent: |
|
(const FlutterKeyEvent &) |
event |
| callback: |
|
(nullable FlutterKeyEventCallback) |
callback |
| userData: |
|
(nullable void *) |
userData |
|
|
| |
Dispatches the given key event data to the framework through the engine. The callback is called once the response from the framework is received.
◆ spawnWithEntrypoint:libraryURI:initialRoute:entrypointArgs:
| - (FlutterEngine*) spawnWithEntrypoint: |
|
(nullable NSString *) |
entrypoint |
| libraryURI: |
|
(nullable NSString *) |
libraryURI |
| initialRoute: |
|
(nullable NSString *) |
initialRoute |
| entrypointArgs: |
|
(nullable NSArray< NSString * > *) |
NS_SWIFT_UI_ACTOR |
|
|
| |
Creates one running FlutterEngine from another, sharing components between them.
This results in a faster creation time and a smaller memory footprint engine. This should only be called on a FlutterEngine that is running.
The spawned engine shares this engine's task runners, so this must be called on this engine's platform thread, which is always the main thread.
◆ textInputPlugin [1/2]
◆ textInputPlugin [2/2]
◆ updateDisplays
Sends display information for the screen that the view controller's view is on, if it differs from the display last sent to the framework.
If the view isn't in a window, keeps the last display sent. If no display has been sent yet, sends UIScreen.mainScreen as a best-effort initial display.
◆ updateViewportMetrics: [1/2]
| - (void) updateViewportMetrics: |
|
(flutter::ViewportMetrics) |
viewportMetrics |
|
◆ updateViewportMetrics: [2/2]
| - (void) updateViewportMetrics: |
|
(flutter::ViewportMetrics) |
viewportMetrics |
|
◆ waitForFirstFrame:callback:
| - (void) waitForFirstFrame: |
|
(NSTimeInterval) |
timeout |
| callback: |
|
(void(^)(BOOL didTimeout)) |
callback |
|
|
| |
Asynchronously waits until the first frame is presented or the timeout is exceeded, then invokes callback.
◆ allowHeadlessExecution
| - (BOOL) allowHeadlessExecution |
|
readnonatomicassign |
◆ connections
| - (FlutterConnectionCollection*) connections |
|
readwritenonatomicstrong |
◆ dartProject
◆ destroyed
◆ embedderAPI
| - (FlutterEngineProcTable&) embedderAPI |
|
readwritenonatomicassign |
◆ enableEmbedderAPI
| - (BOOL) enableEmbedderAPI |
|
readwritenonatomicassign |
◆ flutterViewControllerWillDeallocObserver
| - (id<NSObject>) flutterViewControllerWillDeallocObserver |
|
readwritenonatomicstrong |
◆ initialRoute
| - (NSString*) initialRoute |
|
readwritenonatomiccopy |
◆ isolateId
◆ keyEventChannel
◆ labelPrefix
| - (NSString*) labelPrefix |
|
readnonatomiccopy |
◆ lifecycleChannel
◆ localizationChannel
◆ manuallyRegisteredToScene
| - (BOOL) manuallyRegisteredToScene |
|
readwritenonatomicassign |
◆ navigationChannel
◆ nextTextureId
| - (int64_t) nextTextureId |
|
readwritenonatomicassign |
◆ platformChannel
◆ platformPlugin
◆ platformViewsChannel
◆ platformViewsController
◆ pluginPublications
| - (NSMutableDictionary*) pluginPublications |
|
readnonatomicassign |
◆ project
◆ publisher
◆ registrars
◆ restorationChannel
◆ restorationEnabled
| - (BOOL) restorationEnabled |
|
readnonatomicassign |
◆ restorationPlugin
◆ sceneLifeCycleDelegate
◆ screenshotChannel
◆ scribbleChannel
◆ settingsChannel
◆ spellCheckChannel
◆ spellCheckPlugin
◆ statusBarChannel
◆ systemChannel
◆ textInputChannel
◆ textInputPlugin
◆ undoManagerChannel
◆ undoManagerPlugin
The documentation for this category was generated from the following files: