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 176 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 248 of file FlutterPlugin.h.

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