Flutter Engine
The Flutter Engine
Instance Methods | List of all members
<FlutterAppLifecycleProvider> Protocol Reference

#import <FlutterAppDelegate.h>

Inheritance diagram for <FlutterAppLifecycleProvider>:
FakeLifecycleProvider FlutterAppDelegate AppDelegate

Instance Methods

(void) - addApplicationLifecycleDelegate:
 
(void) - removeApplicationLifecycleDelegate:
 

Detailed Description

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.

Method Documentation

◆ addApplicationLifecycleDelegate:

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

◆ removeApplicationLifecycleDelegate:

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


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