Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Instance Methods | List of all members
<FlutterAppLifecycleDelegate> Protocol Reference

#include <FlutterAppLifecycleDelegate.h>

Inheritance diagram for <FlutterAppLifecycleDelegate>:
AppDelegateNoopFlutterAppLifecycleDelegate AppDelegateTestFlutterAppLifecycleDelegate FlutterAppLifecycleRegistrar <FlutterPlugin> TestFlutterAppLifecycleDelegate ContinuousTexture FakeAppDelegatePlugin FlutterMenuPlugin FlutterMouseCursorPlugin

Instance Methods

(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:
 

Detailed Description

Protocol for listener of lifecycle events from the NSApplication, typically a FlutterPlugin.

Definition at line 21 of file FlutterAppLifecycleDelegate.h.

Method Documentation

◆ handleDidBecomeActive:

- (void) handleDidBecomeActive: (NSNotification *)  notification
optional

Called when the |FlutterAppDelegate| gets the applicationDidBecomeActive notification.

Reimplemented in TestFlutterAppLifecycleDelegate.

◆ handleDidChangeOcclusionState:

- (void) handleDidChangeOcclusionState: (NSNotification *)  notification
optional

Called when the |FlutterAppDelegate| gets the applicationDidUnhide notification.

◆ handleDidChangeScreenParameters:

- (void) handleDidChangeScreenParameters: (NSNotification *)  notification
optional

Called when the |FlutterAppDelegate| gets the applicationDidUnhide notification.

Reimplemented in TestFlutterAppLifecycleDelegate.

◆ handleDidFinishLaunching:

- (void) handleDidFinishLaunching: (NSNotification *)  notification
optional

Called when the |FlutterAppDelegate| gets the applicationDidFinishLaunching notification.

Reimplemented in TestFlutterAppLifecycleDelegate.

◆ handleDidHide:

- (void) handleDidHide: (NSNotification *)  notification
optional

Called when the |FlutterAppDelegate| gets the applicationDidHide notification.

Reimplemented in TestFlutterAppLifecycleDelegate.

◆ handleDidResignActive:

- (void) handleDidResignActive: (NSNotification *)  notification
optional

Called when the |FlutterAppDelegate| gets the applicationWillResignActive notification.

Reimplemented in TestFlutterAppLifecycleDelegate.

◆ handleDidUnhide:

- (void) handleDidUnhide: (NSNotification *)  notification
optional

Called when the |FlutterAppDelegate| gets the applicationDidUnhide notification.

Reimplemented in TestFlutterAppLifecycleDelegate.

◆ handleOpenURLs:

- (BOOL) handleOpenURLs: (NSArray< NSURL * > *)  urls
optional

Called when the |FlutterAppDelegate| gets the application:openURLs: callback.

Implementers should return YES if they handle the URLs, otherwise NO. Delegates will be called in order of registration, and once a delegate returns YES, no further delegates will reiceve this callback.

Reimplemented in AppDelegateTestFlutterAppLifecycleDelegate.

◆ handleWillBecomeActive:

- (void) handleWillBecomeActive: (NSNotification *)  notification
optional

Called when the |FlutterAppDelegate| gets the applicationWillBecomeActive notification.

Reimplemented in TestFlutterAppLifecycleDelegate.

◆ handleWillFinishLaunching:

- (void) handleWillFinishLaunching: (NSNotification *)  notification
optional

Called when the |FlutterAppDelegate| gets the applicationWillFinishLaunching notification.

Reimplemented in TestFlutterAppLifecycleDelegate.

◆ handleWillHide:

- (void) handleWillHide: (NSNotification *)  notification
optional

Called when the |FlutterAppDelegate| gets the applicationWillHide notification.

Reimplemented in TestFlutterAppLifecycleDelegate.

◆ handleWillResignActive:

- (void) handleWillResignActive: (NSNotification *)  notification
optional

Called when the |FlutterAppDelegate| gets the applicationWillResignActive notification.

Reimplemented in TestFlutterAppLifecycleDelegate.

◆ handleWillTerminate:

- (void) handleWillTerminate: (NSNotification *)  notification
optional

Called when the |FlutterAppDelegate| gets the applicationWillTerminate notification.

Applications should not rely on always receiving all possible notifications.

For example, if the application is killed with a task manager, a kill signal, the user pulls the power from the device, or there is a rapid unscheduled disassembly of the device, no notification will be sent before the application is suddenly terminated, and this notification may be skipped.

Reimplemented in TestFlutterAppLifecycleDelegate.

◆ handleWillUnhide:

- (void) handleWillUnhide: (NSNotification *)  notification
optional

Called when the |FlutterAppDelegate| gets the applicationWillUnhide notification.

Reimplemented in TestFlutterAppLifecycleDelegate.


The documentation for this protocol was generated from the following file: