A PlatformMessageResponse that will respond over a Dart port.
More...
#include <platform_message_response_dart_port.h>
A PlatformMessageResponse that will respond over a Dart port.
Definition at line 15 of file platform_message_response_dart_port.h.
◆ PlatformMessageResponseDartPort()
flutter::PlatformMessageResponseDartPort::PlatformMessageResponseDartPort |
( |
Dart_Port |
send_port, |
|
|
int64_t |
identifier, |
|
|
const std::string & |
channel |
|
) |
| |
|
explicitprotected |
◆ Complete()
void flutter::PlatformMessageResponseDartPort::Complete |
( |
std::unique_ptr< fml::Mapping > |
data | ) |
|
|
overridevirtual |
Implements flutter::PlatformMessageResponse.
Definition at line 29 of file platform_message_response_dart_port.cc.
30 {
34 };
38 };
42
43 std::array<Dart_CObject*, 2> response_values = {&response_identifier,
44 &response_data};
45
48 };
51
54}
@ Dart_CObject_kTypedData
DART_EXPORT bool Dart_PostCObject(Dart_Port port_id, Dart_CObject *message)
#define FML_CHECK(condition)
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot data
union _Dart_CObject::@86 value
struct _Dart_CObject::@86::@90 as_typed_data
struct _Dart_CObject::@86::@89 as_array
struct _Dart_CObject ** values
◆ CompleteEmpty()
void flutter::PlatformMessageResponseDartPort::CompleteEmpty |
( |
| ) |
|
|
overridevirtual |
◆ channel_
const std::string flutter::PlatformMessageResponseDartPort::channel_ |
|
protected |
◆ identifier_
int64_t flutter::PlatformMessageResponseDartPort::identifier_ |
|
protected |
◆ send_port_
Dart_Port flutter::PlatformMessageResponseDartPort::send_port_ |
|
protected |
The documentation for this class was generated from the following files: