5 #ifndef FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_HEADERS_FLUTTERPLUGINREGISTRARMACOS_H_
6 #define FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_HEADERS_FLUTTERPLUGINREGISTRARMACOS_H_
8 #import <Cocoa/Cocoa.h>
33 @property(nonnull, readonly) id<FlutterBinaryMessenger>
messenger;
39 @property(nonnull, readonly) id<FlutterTextureRegistry>
textures;
50 @property(nullable, readonly) NSView*
view;
55 - (void)addMethodCallDelegate:(nonnull
id<
FlutterPlugin>)delegate
75 withId:(nonnull NSString*)factoryId;
89 - (void)publish:(nonnull NSObject*)value;
98 - (nonnull NSString*)lookupKeyForAsset:(nonnull NSString*)asset;
109 - (nonnull NSString*)lookupKeyForAsset:(nonnull NSString*)asset
110 fromPackage:(nonnull NSString*)package;
130 @protocol FlutterPluginRegistry <NSObject>
147 - (nullable NSObject*)valuePublishedByPlugin:(nonnull NSString*)pluginKey;
151 #endif // FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_HEADERS_FLUTTERPLUGINREGISTRARMACOS_H_