#import <FlutterEngine_Internal.h>
Definition at line 95 of file FlutterEngine.mm.
◆ 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 *) |
initialRoute |
|
|
| |
◆ 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 |
|
|
|
◆ platformPlugin
◆ platformTaskRunner
◆ rasterTaskRunner
◆ restorationPlugin
◆ screenshot:base64Encode:
- Rasterizer: |
|
(flutter::Rasterizer::ScreenshotType) |
type |
base64Encode: |
|
(bool) |
base64Encode |
|
|
| |
◆ 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 * > *) |
entrypointArgs |
|
|
| |
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.
◆ textInputPlugin [1/2]
◆ textInputPlugin [2/2]
◆ uiTaskRunner
◆ 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.
◆ waitForFirstFrameSync:callback:
- (void) waitForFirstFrameSync: |
|
(NSTimeInterval) |
timeout |
callback: |
|
(NS_NOESCAPE void(^)(BOOL didTimeout)) |
callback |
|
|
| |
Blocks until the first frame is presented or the timeout is exceeded, then invokes callback.
◆ allowHeadlessExecution
- (BOOL) allowHeadlessExecution |
|
readnonatomicassign |
◆ dartProject
◆ 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
◆ navigationChannel
◆ nextTextureId
- (int64_t) nextTextureId |
|
readwritenonatomicassign |
◆ platformChannel
◆ platformPlugin
◆ platformViewsChannel
◆ platformViewsController
◆ pluginPublications
- (NSMutableDictionary*) pluginPublications |
|
readnonatomicassign |
◆ project
◆ publisher
◆ registrars
◆ restorationChannel
◆ restorationEnabled
- (BOOL) restorationEnabled |
|
readnonatomicassign |
◆ restorationPlugin
◆ screenshotChannel
◆ scribbleChannel
◆ settingsChannel
◆ spellCheckChannel
◆ spellCheckPlugin
◆ systemChannel
◆ textInputChannel
◆ textInputPlugin
◆ undoManagerChannel
◆ undoManagerPlugin
The documentation for this category was generated from the following files: