Go to the source code of this file.
Classes | |
protocol | <FlutterTaskQueue> |
protocol | <FlutterBinaryMessenger> |
Typedefs | |
typedef void(^ | FlutterBinaryMessageHandler) (NSData *_Nullable message, FlutterBinaryReply reply) |
typedef int64_t | FlutterBinaryMessengerConnection |
Variables | |
NS_ASSUME_NONNULL_BEGIN typedef void(^ | FlutterBinaryReply )(NSData *_Nullable reply) |
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.
message | The message. |
reply | A callback for submitting an asynchronous reply to the sender. |
Definition at line 30 of file FlutterBinaryMessenger.h.
typedef int64_t FlutterBinaryMessengerConnection |
Definition at line 32 of file FlutterBinaryMessenger.h.
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.
reply | The reply. |
Referenced by flutter::testing::TEST_F(), FlutterViewControllerTestObjC::testFlagsChangedEventsArePropagatedIfNotHandled:, FlutterViewControllerTestObjC::testKeyEventsAreNotPropagatedIfHandled:, and FlutterViewControllerTestObjC::testKeyEventsArePropagatedIfNotHandled:.