Go to the source code of this file.
Classes | |
struct | FlutterDesktopMessage |
Typedefs | |
typedef struct FlutterDesktopMessenger * | FlutterDesktopMessengerRef |
typedef struct _FlutterPlatformMessageResponseHandle | FlutterDesktopMessageResponseHandle |
typedef void(* | FlutterDesktopBinaryReply) (const uint8_t *data, size_t data_size, void *user_data) |
typedef void(* | FlutterDesktopMessageCallback) (FlutterDesktopMessengerRef, const FlutterDesktopMessage *, void *) |
typedef void(* FlutterDesktopBinaryReply) (const uint8_t *data, size_t data_size, void *user_data) |
Definition at line 26 of file flutter_messenger.h.
typedef void(* FlutterDesktopMessageCallback) (FlutterDesktopMessengerRef, const FlutterDesktopMessage *, void *) |
Definition at line 49 of file flutter_messenger.h.
typedef struct _FlutterPlatformMessageResponseHandle FlutterDesktopMessageResponseHandle |
Definition at line 22 of file flutter_messenger.h.
typedef struct FlutterDesktopMessenger* FlutterDesktopMessengerRef |
Definition at line 19 of file flutter_messenger.h.
FLUTTER_EXPORT FlutterDesktopMessengerRef FlutterDesktopMessengerAddRef | ( | FlutterDesktopMessengerRef | messenger | ) |
Definition at line 396 of file flutter_windows.cc.
References flutter::FlutterDesktopMessenger::AddRef(), flutter::FlutterDesktopMessenger::FromRef(), and flutter::FlutterDesktopMessenger::ToRef().
FLUTTER_EXPORT bool FlutterDesktopMessengerIsAvailable | ( | FlutterDesktopMessengerRef | messenger | ) |
Definition at line 407 of file flutter_windows.cc.
References flutter::FlutterDesktopMessenger::FromRef(), and flutter::FlutterDesktopMessenger::GetEngine().
Referenced by FlutterDesktopMessengerSendResponse(), FlutterDesktopMessengerSendWithReply(), and FlutterDesktopMessengerSetCallback().
FLUTTER_EXPORT FlutterDesktopMessengerRef FlutterDesktopMessengerLock | ( | FlutterDesktopMessengerRef | messenger | ) |
Definition at line 412 of file flutter_windows.cc.
References flutter::FlutterDesktopMessenger::FromRef(), and flutter::FlutterDesktopMessenger::GetMutex().
FLUTTER_EXPORT void FlutterDesktopMessengerRelease | ( | FlutterDesktopMessengerRef | messenger | ) |
Definition at line 403 of file flutter_windows.cc.
References flutter::FlutterDesktopMessenger::FromRef(), and flutter::FlutterDesktopMessenger::Release().
FLUTTER_EXPORT bool FlutterDesktopMessengerSend | ( | FlutterDesktopMessengerRef | messenger, |
const char * | channel, | ||
const uint8_t * | message, | ||
const size_t | message_size | ||
) |
Definition at line 362 of file flutter_windows.cc.
References FlutterDesktopMessengerSendWithReply(), and message.
Referenced by flutter::BinaryMessengerImpl::Send().
FLUTTER_EXPORT void FlutterDesktopMessengerSendResponse | ( | FlutterDesktopMessengerRef | messenger, |
const FlutterDesktopMessageResponseHandle * | handle, | ||
const uint8_t * | data, | ||
size_t | data_length | ||
) |
Definition at line 370 of file flutter_windows.cc.
References FlutterDesktopMessengerIsAvailable(), flutter::FlutterDesktopMessenger::FromRef(), flutter::FlutterDesktopMessenger::GetEngine(), and flutter::FlutterWindowsEngine::SendPlatformMessageResponse().
Referenced by flutter::IncomingMessageDispatcher::HandleMessage().
FLUTTER_EXPORT bool FlutterDesktopMessengerSendWithReply | ( | FlutterDesktopMessengerRef | messenger, |
const char * | channel, | ||
const uint8_t * | message, | ||
const size_t | message_size, | ||
const FlutterDesktopBinaryReply | reply, | ||
void * | user_data | ||
) |
Definition at line 348 of file flutter_windows.cc.
References FlutterDesktopMessengerIsAvailable(), flutter::FlutterDesktopMessenger::FromRef(), flutter::FlutterDesktopMessenger::GetEngine(), message, flutter::FlutterWindowsEngine::SendPlatformMessage(), and user_data.
Referenced by FlutterDesktopMessengerSend(), and flutter::BinaryMessengerImpl::Send().
FLUTTER_EXPORT void FlutterDesktopMessengerSetCallback | ( | FlutterDesktopMessengerRef | messenger, |
const char * | channel, | ||
FlutterDesktopMessageCallback | callback, | ||
void * | user_data | ||
) |
Definition at line 383 of file flutter_windows.cc.
References callback, FlutterDesktopMessengerIsAvailable(), flutter::FlutterDesktopMessenger::FromRef(), flutter::FlutterDesktopMessenger::GetEngine(), flutter::FlutterWindowsEngine::message_dispatcher(), flutter::IncomingMessageDispatcher::SetMessageCallback(), and user_data.
Referenced by flutter::BinaryMessengerImpl::SetMessageHandler().
FLUTTER_EXPORT void FlutterDesktopMessengerUnlock | ( | FlutterDesktopMessengerRef | messenger | ) |
Definition at line 418 of file flutter_windows.cc.
References flutter::FlutterDesktopMessenger::FromRef(), and flutter::FlutterDesktopMessenger::GetMutex().