#import <FlutterEngine_Internal.h>
Instance Methods | |
(instancetype) | - initWithEngine:terminator: |
(void) | - handleRequestAppExitMethodCall:result: |
(void) | - requestApplicationTermination:exitType:result: |
Properties | |
BOOL | shouldTerminate |
BOOL | acceptingRequests |
A handler interface for handling application termination that the FlutterAppDelegate can use to coordinate an application exit by sending messages through the platform channel managed by the engine.
Definition at line 188 of file FlutterEngine.mm.
- (void) handleRequestAppExitMethodCall: | (NSDictionary<NSString*, id>*) | data | |
result: | (FlutterResult) | result | |
Definition at line 190 of file FlutterEngine.mm.
- (instancetype) initWithEngine: | (FlutterEngine *) | engine | |
terminator: | (nullable FlutterTerminationCallback) | terminator | |
- (void) requestApplicationTermination: | (NSApplication *) | sender | |
exitType: | (FlutterAppExitType) | type | |
result: | (nullable FlutterResult) | result | |
|
readwritenonatomicassign |
Definition at line 60 of file FlutterEngine_Internal.h.
Referenced by flutter::testing::TEST_F().
|
readnonatomicassign |
Definition at line 59 of file FlutterEngine_Internal.h.