#import <FlutterAppDelegate.h>
Instance Methods | |
(void) | - addApplicationLifecycleDelegate: |
(void) | - removeApplicationLifecycleDelegate: |
A protocol to be implemented by the NSApplicationDelegate
of an application to enable the Flutter framework and any Flutter plugins to register to receive application life cycle events.
Implementers should forward all of the NSApplicationDelegate
methods corresponding to the handlers in FlutterAppLifecycleDelegate to any registered delegates.
Definition at line 21 of file FlutterAppDelegate.h.
- (void) addApplicationLifecycleDelegate: | (nonnull NSObject< FlutterAppLifecycleDelegate > *) | delegate |
Adds an object implementing |FlutterAppLifecycleDelegate| to the list of delegates to be informed of application lifecycle events.
Referenced by flutter::testing::TEST().
- (void) removeApplicationLifecycleDelegate: | (nonnull NSObject< FlutterAppLifecycleDelegate > *) | delegate |
Removes an object implementing |FlutterAppLifecycleDelegate| to the list of delegates to be informed of application lifecycle events.