Flutter Engine
 
Loading...
Searching...
No Matches
FlutterPlatformMessage Struct Reference

#include <embedder.h>

Public Attributes

size_t struct_size
 The size of this struct. Must be sizeof(FlutterPlatformMessage).
 
const char * channel
 
const uint8_t * message
 
size_t message_size
 
const FlutterPlatformMessageResponseHandleresponse_handle
 

Detailed Description

Definition at line 1434 of file embedder.h.

Member Data Documentation

◆ channel

◆ message

const uint8_t* FlutterPlatformMessage::message

◆ message_size

size_t FlutterPlatformMessage::message_size

◆ response_handle

const FlutterPlatformMessageResponseHandle* FlutterPlatformMessage::response_handle

The response handle on which to invoke FlutterEngineSendPlatformMessageResponse when the response is ready. FlutterEngineSendPlatformMessageResponse must be called for all messages received by the embedder. Failure to call FlutterEngineSendPlatformMessageResponse will cause a memory leak. It is not safe to send multiple responses on a single response object.

Definition at line 1446 of file embedder.h.

Referenced by ConvertToDesktopMessage(), fl_engine_send_platform_message(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), and flutter::testing::TEST_F().

◆ struct_size


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