Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Attributes | List of all members
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 1160 of file embedder.h.

Member Data Documentation

◆ channel

const char* FlutterPlatformMessage::channel

Definition at line 1163 of file embedder.h.

◆ message

const uint8_t* FlutterPlatformMessage::message

Definition at line 1164 of file embedder.h.

◆ message_size

size_t FlutterPlatformMessage::message_size

Definition at line 1165 of file embedder.h.

◆ 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 1172 of file embedder.h.

◆ struct_size

size_t FlutterPlatformMessage::struct_size

The size of this struct. Must be sizeof(FlutterPlatformMessage).

Definition at line 1162 of file embedder.h.


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