| Flutter Windows Embedder |

Public Member Functions | List of all members
flutter::BinaryMessenger Class Referenceabstract

`#include <binary_messenger.h>`

Inheritance diagram for flutter::BinaryMessenger:

## Public Member Functions
virtual | ~BinaryMessenger ()=default
virtual void | Send (const std::string &channel, const uint8_t *message, size_t message_size, BinaryReply reply=nullptr) const =0
virtual void | SetMessageHandler (const std::string &channel, BinaryMessageHandler handler)=0

## Detailed Description

Definition at line 28 of file binary_messenger.h.

## Constructor & Destructor Documentation

## ◆ ~BinaryMessenger()

virtual flutter::BinaryMessenger::~BinaryMessenger | ( |  | ) |
| virtual default

## Member Function Documentation

## ◆ Send()

virtual void flutter::BinaryMessenger::Send | ( | const std::string & | channel,
|  | const uint8_t * | message,
|  | size_t | message_size,
|  | BinaryReply | reply = `nullptr`
| ) |  | const
| pure virtual

Implemented in flutter::BinaryMessengerImpl.

Referenced by flutter::MethodChannel< T >::InvokeMethod(), flutter::BasicMessageChannel< T >::Send(), and flutter::TEST().

## ◆ SetMessageHandler()

virtual void flutter::BinaryMessenger::SetMessageHandler | ( | const std::string & | channel,
|  | BinaryMessageHandler | handler
| ) |  |
| pure virtual

Implemented in flutter::BinaryMessengerImpl.

Referenced by flutter::BasicMessageChannel< T >::SetMessageHandler(), flutter::MethodChannel< T >::SetMethodCallHandler(), flutter::EventChannel< T >::SetStreamHandler(), and flutter::TEST().

The documentation for this class was generated from the following file:

- shell/platform/common/client_wrapper/include/flutter/binary_messenger.h