Type Definitions
The following type definitions are available globally.
- 
                  
                  
A message reply callback.
Used for submitting a binary reply back to a Flutter message sender. Also used in for handling a binary message reply received from Flutter.
Declaration
Objective-C
typedef void (^FlutterBinaryReply)(NSData *_Nullable)Parameters
replyThe reply.
 - 
                  
                  
A strategy for handling incoming binary messages from Flutter and to send asynchronous replies back to Flutter.
Declaration
Objective-C
typedef void (^FlutterBinaryMessageHandler)(NSData *_Nullable, FlutterBinaryReply _Nonnull)Parameters
messageThe message.
replyA callback for submitting an asynchronous reply to the sender.
 - 
                  
                  
Undocumented
Declaration
Objective-C
typedef int64_t FlutterBinaryMessengerConnection - 
                  
                  
A message reply callback.
Used for submitting a reply back to a Flutter message sender. Also used in the dual capacity for handling a message reply received from Flutter.
Declaration
Objective-C
typedef void (^FlutterReply)(id _Nullable)Parameters
replyThe reply.
 - 
                  
                  
A strategy for handling incoming messages from Flutter and to send asynchronous replies back to Flutter.
Declaration
Objective-C
typedef void (^FlutterMessageHandler)(id _Nullable, FlutterReply _Nonnull)Parameters
messageThe message.
callbackA callback for submitting a reply to the sender which can be invoked from any thread.
 - 
                  
                  
A method call result callback.
Used for submitting a method call result back to a Flutter caller. Also used in the dual capacity for handling a method call result received from Flutter.
Declaration
Objective-C
typedef void (^FlutterResult)(id _Nullable)Parameters
resultThe result.
 - 
                  
                  
A strategy for handling method calls.
Declaration
Objective-C
typedef void (^FlutterMethodCallHandler)(FlutterMethodCall *_Nonnull, FlutterResult _Nonnull)Parameters
callThe incoming method call.
resultA callback to asynchronously submit the result of the call. Invoke the callback with a
FlutterErrorto indicate that the call failed. Invoke the callback withFlutterMethodNotImplementedto indicate that the method was unknown. Any other values, includingnil, are interpreted as successful results. This can be invoked from any thread. - 
                  
                  
An event sink callback.
Declaration
Objective-C
typedef void (^FlutterEventSink)(id _Nullable)Parameters
eventThe event.
 - 
                  
                  
A callback for when FlutterHeadlessDartRunner has attempted to start a Dart Isolate in the background.
Declaration
Objective-C
typedef void (^FlutterHeadlessDartRunnerCallback)(BOOL)Parameters
successYES if the Isolate was started and run successfully, NO otherwise.
 - 
                  
                  
A plugin registration callback.
Used for registering plugins with additional instances of
FlutterPluginRegistry.Declaration
Objective-C
typedef void (*FlutterPluginRegistrantCallback)( NSObject<FlutterPluginRegistry> *_Nonnull)Parameters
registryThe registry to register plugins with.
 - 
                  
                  
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).
See moreDeclaration
Objective-C
typedef enum FlutterPlatformViewGestureRecognizersBlockingPolicy FlutterPlatformViewGestureRecognizersBlockingPolicy 
View on GitHub
Install in Dash
        Type Definitions  Reference