Flutter Engine
The Flutter Engine
|
#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.
Reimplemented in FakeLifecycleProvider.
- (void) removeApplicationLifecycleDelegate: | (nonnull NSObject< FlutterAppLifecycleDelegate > *) | delegate |
Removes an object implementing |FlutterAppLifecycleDelegate| to the list of delegates to be informed of application lifecycle events.
Reimplemented in FakeLifecycleProvider.