#import <FlutterAppLifecycleDelegate.h>
Instance Methods | |
(void) | - addDelegate: |
(void) | - removeDelegate: |
Instance Methods inherited from <FlutterAppLifecycleDelegate> | |
(void) | - handleWillFinishLaunching: |
(void) | - handleDidFinishLaunching: |
(void) | - handleWillBecomeActive: |
(void) | - handleDidBecomeActive: |
(void) | - handleWillResignActive: |
(void) | - handleDidResignActive: |
(void) | - handleWillHide: |
(void) | - handleDidHide: |
(void) | - handleWillUnhide: |
(void) | - handleDidUnhide: |
(void) | - handleDidChangeScreenParameters: |
(void) | - handleDidChangeOcclusionState: |
(BOOL) | - handleOpenURLs: |
(void) | - handleWillTerminate: |
Properties | |
NSPointerArray * | delegates [implementation] |
Propagates NSAppDelegate
callbacks to registered delegates.
Definition at line 126 of file FlutterAppLifecycleDelegate.h.
- (void) addDelegate: | (NSObject<FlutterAppLifecycleDelegate>*) | delegate |
Registers delegate
to receive lifecycle callbacks via this FlutterAppLifecycleDelegate as long as it is alive.
delegate
will only be referenced weakly.
Definition at line 58 of file FlutterAppLifecycleDelegate.mm.
Referenced by flutter::testing::TEST().
- (void) removeDelegate: | (NSObject<FlutterAppLifecycleDelegate>*) | delegate |
Unregisters delegate
so that it will no longer receive life cycle callbacks via this FlutterAppLifecycleDelegate.
delegate
will only be referenced weakly.
Definition at line 65 of file FlutterAppLifecycleDelegate.mm.
|
readwritenonatomicstrongimplementation |
Registered delegates. Exposed to allow FlutterAppDelegate to share the delegate list for handling non-notification delegation.
Definition at line 15 of file FlutterAppLifecycleDelegate_Internal.h.