Flutter Engine
The Flutter Engine
Classes | Typedefs | Enumerations
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 180 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 252 of file FlutterPlugin.h.

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