#include <method_channel.h>
Public Member Functions | |
MethodChannel (BinaryMessenger *messenger, const std::string &name, const MethodCodec< T > *codec) | |
~MethodChannel ()=default | |
MethodChannel (MethodChannel const &)=delete | |
MethodChannel & | operator= (MethodChannel const &)=delete |
void | InvokeMethod (const std::string &method, std::unique_ptr< T > arguments, std::unique_ptr< MethodResult< T >> result=nullptr) |
void | SetMethodCallHandler (MethodCallHandler< T > handler) const |
void | Resize (int new_size) |
void | SetWarnsOnOverflow (bool warns) |
Definition at line 34 of file method_channel.h.
|
inline |
Definition at line 38 of file method_channel.h.
|
default |
|
delete |
|
inline |
Definition at line 53 of file method_channel.h.
References method_call, result, and flutter::BinaryMessenger::Send().
Referenced by flutter::TEST().
|
delete |
|
inline |
Definition at line 130 of file method_channel.h.
References flutter::internal::ResizeChannel().
Referenced by flutter::TEST().
|
inline |
Definition at line 99 of file method_channel.h.
References method_call, result, and flutter::BinaryMessenger::SetMessageHandler().
Referenced by flutter::TEST().
|
inline |
Definition at line 139 of file method_channel.h.
References flutter::internal::SetChannelWarnsOnOverflow().
Referenced by flutter::TEST().