Flutter Engine
The Flutter Engine
|
#include <platform_message_handler_android.h>
Public Member Functions | |
PlatformMessageHandlerAndroid (const std::shared_ptr< PlatformViewAndroidJNI > &jni_facade) | |
void | HandlePlatformMessage (std::unique_ptr< PlatformMessage > message) override |
bool | DoesHandlePlatformMessageOnPlatformThread () const override |
void | InvokePlatformMessageResponseCallback (int response_id, std::unique_ptr< fml::Mapping > mapping) override |
void | InvokePlatformMessageEmptyResponseCallback (int response_id) override |
Public Member Functions inherited from flutter::PlatformMessageHandler | |
virtual | ~PlatformMessageHandler ()=default |
virtual void | HandlePlatformMessage (std::unique_ptr< PlatformMessage > message)=0 |
virtual bool | DoesHandlePlatformMessageOnPlatformThread () const =0 |
virtual void | InvokePlatformMessageResponseCallback (int response_id, std::unique_ptr< fml::Mapping > mapping)=0 |
virtual void | InvokePlatformMessageEmptyResponseCallback (int response_id)=0 |
Definition at line 18 of file platform_message_handler_android.h.
|
explicit |
Definition at line 9 of file platform_message_handler_android.cc.
|
inlineoverridevirtual |
Returns true if the platform message will ALWAYS be dispatched to the platform thread.
Platforms that support Background Platform Channels will return false.
Implements flutter::PlatformMessageHandler.
Definition at line 23 of file platform_message_handler_android.h.
|
overridevirtual |
Ultimately sends the PlatformMessage to the host platform. This method is invoked on the ui thread.
Implements flutter::PlatformMessageHandler.
Definition at line 56 of file platform_message_handler_android.cc.
|
overridevirtual |
Performs the return procedure for an associated call to HandlePlatformMessage where there is no return value. This method should be thread-safe and able to be invoked on any thread.
Implements flutter::PlatformMessageHandler.
Definition at line 36 of file platform_message_handler_android.cc.
|
overridevirtual |
Performs the return procedure for an associated call to HandlePlatformMessage. This method should be thread-safe and able to be invoked on any thread.
Implements flutter::PlatformMessageHandler.
Definition at line 13 of file platform_message_handler_android.cc.