#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 194 of file FlutterEngine.mm.
- (void) handleRequestAppExitMethodCall: | (NSDictionary<NSString*, id>*) | data | |
result: | (FlutterResult) | result | |
Definition at line 196 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 63 of file FlutterEngine_Internal.h.
Referenced by flutter::testing::TEST_F().
|
readnonatomicassign |
Definition at line 62 of file FlutterEngine_Internal.h.