Flutter iOS Embedder
FlutterBinaryMessenger.h File Reference
#import <Foundation/Foundation.h>
#import "FlutterMacros.h"

Go to the source code of this file.


protocol  <FlutterTaskQueue>
protocol  <FlutterBinaryMessenger>


typedef void(^ FlutterBinaryMessageHandler) (NSData *_Nullable message, FlutterBinaryReply reply)
typedef int64_t FlutterBinaryMessengerConnection


NS_ASSUME_NONNULL_BEGIN typedef void(^ FlutterBinaryReply )(NSData *_Nullable reply)

Typedef Documentation

◆ FlutterBinaryMessageHandler

typedef void(^ FlutterBinaryMessageHandler) (NSData *_Nullable message, FlutterBinaryReply reply)

A strategy for handling incoming binary messages from Flutter and to send asynchronous replies back to Flutter.

messageThe message.
replyA callback for submitting an asynchronous reply to the sender.

Definition at line 30 of file FlutterBinaryMessenger.h.

◆ FlutterBinaryMessengerConnection

Definition at line 32 of file FlutterBinaryMessenger.h.

Variable Documentation

◆ FlutterBinaryReply

NS_ASSUME_NONNULL_BEGIN typedef void(^ FlutterBinaryReply) (NSData *_Nullable reply)

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.

replyThe reply.