Flutter iOS Embedder
FlutterEnginePartialMock Class Reference
Inheritance diagram for FlutterEnginePartialMock:
FlutterEngine <FlutterPluginRegistry>

Instance Methods

(FlutterTextInputPlugin *) - textInputPlugin
 
(void) - sendKeyEvent:callback:userData:
 
- Instance Methods inherited from FlutterEngine
(instancetype) - init
 
(instancetype) - initWithName:
 
(instancetype) - initWithName:project:
 
(instancetype) - initWithName:project:allowHeadlessExecution:
 
(instancetype) - initWithName:project:allowHeadlessExecution:restorationEnabled:
 
(BOOL) - run
 
(BOOL) - runWithEntrypoint:
 
(BOOL) - runWithEntrypoint:initialRoute:
 
(BOOL) - runWithEntrypoint:libraryURI:
 
(BOOL) - runWithEntrypoint:libraryURI:initialRoute:
 
(BOOL) - runWithEntrypoint:libraryURI:initialRoute:entrypointArgs:
 
(void) - destroyContext
 
(void) - ensureSemanticsEnabled
 
(NSURL *observatoryUrl) - FLUTTER_DEPRECATED
 
(flutter::Shell &) - shell
 
(void) - setBinaryMessenger:
 
(flutter::IOSRenderingAPI- platformViewsRenderingAPI
 
(void) - waitForFirstFrame:callback:
 
(FlutterEngine *) - spawnWithEntrypoint:libraryURI:initialRoute:entrypointArgs:
 
(const flutter::ThreadHost &) - threadHost
 
(void) - updateDisplays
 
(void) - flutterTextInputView:performAction:withClient:
 
(void) - sceneWillEnterForeground:
 
(void) - sceneDidEnterBackground:
 
(void) - applicationWillEnterForeground:
 
(void) - applicationDidEnterBackground:
 
- Instance Methods inherited from <FlutterPluginRegistry>
(nullable NSObject< FlutterPluginRegistrar > *) - registrarForPlugin:
 
(BOOL) - hasPlugin:
 
(nullable NSObject *) - valuePublishedByPlugin:
 

Properties

FlutterBasicMessageChannellifecycleChannel
 
FlutterBasicMessageChannelkeyEventChannel
 
FlutterViewControllerviewController
 
FlutterTextInputPlugintextInputPlugin
 
BOOL didCallNotifyLowMemory
 
- Properties inherited from FlutterEngine
FlutterViewControllerviewController
 
FlutterMethodChannellocalizationChannel
 
FlutterMethodChannelnavigationChannel
 
FlutterMethodChannelrestorationChannel
 
FlutterMethodChannelplatformChannel
 
FlutterMethodChanneltextInputChannel
 
FlutterBasicMessageChannellifecycleChannel
 
FlutterBasicMessageChannelsystemChannel
 
FlutterBasicMessageChannelsettingsChannel
 
FlutterBasicMessageChannelkeyEventChannel
 
NSURL * vmServiceUrl
 
NSObject< FlutterBinaryMessenger > * binaryMessenger
 
NSObject< FlutterTextureRegistry > * textureRegistry
 
NSString * isolateId
 
BOOL isGpuDisabled
 
FlutterEngineProcTable & embedderAPI
 
BOOL enableEmbedderAPI
 

Detailed Description

Sometimes we have to use a custom mock to avoid retain cycles in OCMock. Used for testing low memory notification.

Definition at line 39 of file FlutterViewControllerTest.mm.

Method Documentation

◆ sendKeyEvent:callback:userData:

- (void) sendKeyEvent: (const FlutterKeyEvent &)  event
callback: (nullable FlutterKeyEventCallback)  callback
userData: (nullable void *)  userData 

◆ textInputPlugin

- (FlutterTextInputPlugin*) textInputPlugin

Property Documentation

◆ didCallNotifyLowMemory

- (BOOL) didCallNotifyLowMemory
readwritenonatomicassign

Definition at line 44 of file FlutterViewControllerTest.mm.

◆ keyEventChannel

- (FlutterBasicMessageChannel*) keyEventChannel
readwritenonatomicstrong

Definition at line 41 of file FlutterViewControllerTest.mm.

◆ lifecycleChannel

- (FlutterBasicMessageChannel*) lifecycleChannel
readwritenonatomicstrong

Definition at line 40 of file FlutterViewControllerTest.mm.

◆ textInputPlugin

- (FlutterTextInputPlugin*) textInputPlugin
readwritenonatomicstrong

Definition at line 43 of file FlutterViewControllerTest.mm.

◆ viewController

- (FlutterViewController*) viewController
readwritenonatomicweak

Definition at line 42 of file FlutterViewControllerTest.mm.


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