|
Flutter iOS Embedder
|
|
Go to the documentation of this file.
5 #ifndef FLUTTER_SHELL_PLATFORM_COMMON_CLIENT_WRAPPER_BINARY_MESSENGER_IMPL_H_
6 #define FLUTTER_SHELL_PLATFORM_COMMON_CLIENT_WRAPPER_BINARY_MESSENGER_IMPL_H_
30 void Send(
const std::string& channel,
31 const uint8_t* message,
45 std::map<std::string, BinaryMessageHandler> handlers_;
50 #endif // FLUTTER_SHELL_PLATFORM_COMMON_CLIENT_WRAPPER_BINARY_MESSENGER_IMPL_H_
BinaryMessengerImpl(FlutterDesktopMessengerRef core_messenger)
virtual ~BinaryMessengerImpl()
std::function< void(const uint8_t *reply, size_t reply_size)> BinaryReply
void SetMessageHandler(const std::string &channel, BinaryMessageHandler handler) override
struct FlutterDesktopMessenger * FlutterDesktopMessengerRef
std::function< void(const uint8_t *message, size_t message_size, BinaryReply reply)> BinaryMessageHandler
BinaryMessengerImpl & operator=(BinaryMessengerImpl const &)=delete
void Send(const std::string &channel, const uint8_t *message, size_t message_size, BinaryReply reply) const override