Flutter macOS Embedder
FakeLifecycleProvider Class Reference
Inheritance diagram for FakeLifecycleProvider:
<FlutterAppLifecycleProvider>

Instance Methods

(BOOL) - hasDelegate:
 
- Instance Methods inherited from <FlutterAppLifecycleProvider>
(void) - addApplicationLifecycleDelegate:
 
(void) - removeApplicationLifecycleDelegate:
 

Properties

NSPointerArray * registeredDelegates
 

Detailed Description

Definition at line 69 of file FlutterEngineTest.mm.

Method Documentation

◆ hasDelegate:

- (BOOL) hasDelegate: (nonnull NSObject<FlutterAppLifecycleDelegate>*)  delegate

Definition at line 102 of file FlutterEngineTest.mm.

102  :(nonnull NSObject<FlutterAppLifecycleDelegate>*)delegate {
103  return std::find(_delegates.begin(), _delegates.end(), (__bridge void*)delegate) !=
104  _delegates.end();
105 }

Property Documentation

◆ registeredDelegates

- (NSPointerArray*) registeredDelegates
readnonatomicstrong

Definition at line 71 of file FlutterEngineTest.mm.


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