Flutter macOS Embedder
<FlutterAppLifecycleProvider> Protocol Reference

#import <FlutterAppDelegate.h>

Inheritance diagram for <FlutterAppLifecycleProvider>:
FakeLifecycleProvider FlutterAppDelegate

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.

Referenced by flutter::testing::TEST().

◆ removeApplicationLifecycleDelegate:

- (void) removeApplicationLifecycleDelegate: (nonnull NSObject< FlutterAppLifecycleDelegate > *)  delegate

Removes an object implementing |FlutterAppLifecycleDelegate| to the list of delegates to be informed of application lifecycle events.


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