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 71 of file FlutterEngineTest.mm.

Method Documentation

◆ hasDelegate:

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

Definition at line 104 of file FlutterEngineTest.mm.

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

Property Documentation

◆ registeredDelegates

- (NSPointerArray*) registeredDelegates
readnonatomicstrong

Definition at line 73 of file FlutterEngineTest.mm.


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