Flutter Engine
FlutterPlugin.h File Reference
#import <UIKit/UIKit.h>
#import <UserNotifications/UNUserNotificationCenter.h>
#import "FlutterBinaryMessenger.h"
#import "FlutterChannels.h"
#import "FlutterCodecs.h"
#import "FlutterPlatformViews.h"
#import "FlutterTexture.h"

Go to the source code of this file.

Classes

protocol  <FlutterApplicationLifeCycleDelegate >
 
protocol  <FlutterPlugin >
 
protocol  <FlutterPluginRegistrar >
 
protocol  <FlutterPluginRegistry >
 
protocol  <FlutterAppLifeCycleProvider >
 

Typedefs

typedef void(* FlutterPluginRegistrantCallback) (NSObject< FlutterPluginRegistry > *registry)
 

Enumerations

enum  FlutterPlatformViewGestureRecognizersBlockingPolicy {
  FlutterPlatformViewGestureRecognizersBlockingPolicyEager,
  FlutterPlatformViewGestureRecognizersBlockingPolicyWaitUntilTouchesEnded
}
 

Typedef Documentation

◆ FlutterPluginRegistrantCallback

typedef void(* FlutterPluginRegistrantCallback) (NSObject< FlutterPluginRegistry > *registry)

A plugin registration callback.

Used for registering plugins with additional instances of FlutterPluginRegistry.

Parameters
registryThe registry to register plugins with.

Definition at line 182 of file FlutterPlugin.h.

Enumeration Type Documentation

◆ FlutterPlatformViewGestureRecognizersBlockingPolicy

How the UIGestureRecognizers of a platform view are blocked.

UIGestureRecognizers of platform views can be blocked based on decisions made by the Flutter Framework (e.g. When an interact-able widget is covering the platform view).

Enumerator
FlutterPlatformViewGestureRecognizersBlockingPolicyEager 

Flutter blocks all the UIGestureRecognizers on the platform view as soon as it decides they should be blocked.

With this policy, only the touchesBegan method for all the UIGestureRecognizers is guaranteed to be called.

FlutterPlatformViewGestureRecognizersBlockingPolicyWaitUntilTouchesEnded 

Flutter blocks the platform view's UIGestureRecognizers from recognizing only after touchesEnded was invoked.

This results in the platform view's UIGestureRecognizers seeing the entire touch sequence, but never recognizing the gesture (and never invoking actions).

Definition at line 254 of file FlutterPlugin.h.

254  {
255  /**
256  * Flutter blocks all the UIGestureRecognizers on the platform view as soon as it
257  * decides they should be blocked.
258  *
259  * With this policy, only the `touchesBegan` method for all the UIGestureRecognizers is guaranteed
260  * to be called.
261  */
263  /**
264  * Flutter blocks the platform view's UIGestureRecognizers from recognizing only after
265  * touchesEnded was invoked.
266  *
267  * This results in the platform view's UIGestureRecognizers seeing the entire touch sequence,
268  * but never recognizing the gesture (and never invoking actions).
269  */
FlutterPlatformViewGestureRecognizersBlockingPolicy