#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 180 of file FlutterEngine.mm.
- (void) handleRequestAppExitMethodCall: | (NSDictionary<NSString*, id>*) | data | |
result: | (FlutterResult) | result | |
Definition at line 205 of file FlutterEngine.mm.
References requestApplicationTermination:exitType:result:.
- (instancetype) initWithEngine: | (FlutterEngine *) | engine | |
terminator: | (nullable FlutterTerminationCallback) | terminator | |
- (void) requestApplicationTermination: | (NSApplication *) | sender | |
exitType: | (FlutterAppExitType) | type | |
result: | (nullable FlutterResult) | result | |
Referenced by handleRequestAppExitMethodCall:result:.
|
readwritenonatomicassign |
Definition at line 58 of file FlutterEngine_Internal.h.
|
readnonatomicassign |
Definition at line 57 of file FlutterEngine_Internal.h.