| Flutter iOS Embedder |

Instance Methods | List of all members
<FlutterBaseRegistrar> Protocol Reference

`#import <FlutterPlugin.h>`

Inheritance diagram for <FlutterBaseRegistrar>:

## Instance Methods
(NSObject< FlutterBinaryMessenger > *) | - messenger
(NSObject< FlutterTextureRegistry > *) | - textures
(void) | - registerViewFactory:withId:
(void) | - registerViewFactory:withId:gestureRecognizersBlockingPolicy:

## Detailed Description

The base interface for `FlutterPluginRegistrar` and `FlutterApplicationRegistrar`.

Provides registration context for the application or plugins.

Definition at line 280 of file FlutterPlugin.h.

## Method Documentation

## ◆ messenger

- (NSObject<FlutterBinaryMessenger>*) messenger |  |  |

Returns a `FlutterBinaryMessenger` for creating Dart/iOS communication channels to be used by the application or a plugin.

Returns
  The messenger.

## ◆ registerViewFactory:withId:

- (void) registerViewFactory: |  | (NSObject< FlutterPlatformViewFactory > *) | factory
withId: |  | (NSString *) | factoryId

Registers a `FlutterPlatformViewFactory` for creation of platform views.

Applications or plugins can expose `UIView` for embedding in Flutter apps by registering a view factory.

Parameters

  factory | The view factory that will be registered.
  factoryId | A unique identifier for the factory, the Dart code of the Flutter app can use this identifier to request creation of a `UIView` by the registered factory.

## ◆ registerViewFactory:withId:gestureRecognizersBlockingPolicy:

- (void) registerViewFactory: |  | (NSObject< FlutterPlatformViewFactory > *) | factory
withId: |  | (NSString *) | factoryId
gestureRecognizersBlockingPolicy: |  | (FlutterPlatformViewGestureRecognizersBlockingPolicy) | gestureRecognizersBlockingPolicy

Registers a `FlutterPlatformViewFactory` for creation of platform views.

Applications or plugins can expose a `UIView` for embedding in Flutter apps by registering a view factory.

Parameters

  factory | The view factory that will be registered.
  factoryId | A unique identifier for the factory, the Dart code of the Flutter app can use this identifier to request creation of a `UIView` by the registered factory.
  gestureRecognizersBlockingPolicy | How UIGestureRecognizers on the platform views are blocked.

## ◆ textures

- (NSObject<FlutterTextureRegistry>*) textures |  |  |

Returns a `FlutterTextureRegistry` for registering textures provided by the application or a plugin.

Returns
  The texture registry.

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

- shell/platform/darwin/ios/framework/Headers/FlutterPlugin.h