Flutter Engine
 
Loading...
Searching...
No Matches
FlutterEngineRegistrar Class Reference
Inheritance diagram for FlutterEngineRegistrar:
<FlutterPluginRegistrar> <FlutterBaseRegistrar>

Instance Methods

(instancetype) - initWithPlugin:flutterEngine:
 
(nullable NSView *) - viewForIdentifier:
 
- Instance Methods inherited from <FlutterPluginRegistrar>
(void) - publish:
 
(void) - addMethodCallDelegate:channel:
 
(void) - addApplicationDelegate:
 
(void) - addSceneDelegate:
 
(NSString *) - lookupKeyForAsset:
 
(NSString *) - lookupKeyForAsset:fromPackage:
 
(void) - addMethodCallDelegate:channel:
 
(void) - addApplicationDelegate:
 
(void) - registerViewFactory:withId:
 
(void) - publish:
 
(nonnull NSString *) - lookupKeyForAsset:
 
(nonnull NSString *) - lookupKeyForAsset:fromPackage:
 
- Instance Methods inherited from <FlutterBaseRegistrar>
(NSObject< FlutterBinaryMessenger > *) - messenger
 
(NSObject< FlutterTextureRegistry > *) - textures
 
(void) - registerViewFactory:withId:
 
(void) - registerViewFactory:withId:gestureRecognizersBlockingPolicy:
 

Properties

NSObject * publishedValue
 
- Properties inherited from <FlutterPluginRegistrar>
UIViewController * viewController
 
id< FlutterBinaryMessengermessenger
 
id< FlutterTextureRegistrytextures
 
NSView * view
 
NSViewController * viewController
 

Detailed Description

FlutterPluginRegistrar implementation handling a single plugin.

Definition at line 313 of file FlutterEngine.mm.

Method Documentation

◆ initWithPlugin:flutterEngine:

- (instancetype) initWithPlugin: (nonnull NSString *)  pluginKey
flutterEngine: (nonnull FlutterEngine *)  flutterEngine 

◆ viewForIdentifier:

- (NSView *) viewForIdentifier: (FlutterViewIdentifier viewIdentifier

Definition at line 329 of file FlutterEngine.mm.

358 :(FlutterViewIdentifier)viewIdentifier {
359 FlutterViewController* controller = [_flutterEngine viewControllerForIdentifier:viewIdentifier];
360 if (controller == nil) {
361 return nil;
362 }
363 if (!controller.viewLoaded) {
364 [controller loadView];
365 }
366 return controller.flutterView;
367}
int64_t FlutterViewIdentifier

Property Documentation

◆ publishedValue

- (NSObject*) publishedValue
readnonatomicassign

The value published by this plugin, or NSNull if nothing has been published.

The unusual NSNull is for the documented behavior of valuePublishedByPlugin:.

Definition at line 324 of file FlutterEngine.mm.


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