Flutter Engine
The Flutter Engine
|
Public Member Functions | |
EmbedderPlatformMessageHandler (fml::WeakPtr< PlatformView > parent, fml::RefPtr< fml::TaskRunner > platform_task_runner) | |
virtual void | HandlePlatformMessage (std::unique_ptr< PlatformMessage > message) |
virtual bool | DoesHandlePlatformMessageOnPlatformThread () const |
virtual void | InvokePlatformMessageResponseCallback (int response_id, std::unique_ptr< fml::Mapping > mapping) |
virtual void | InvokePlatformMessageEmptyResponseCallback (int response_id) |
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 13 of file platform_view_embedder.cc.
|
inline |
Definition at line 16 of file platform_view_embedder.cc.
|
inlinevirtual |
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 34 of file platform_view_embedder.cc.
|
inlinevirtual |
Ultimately sends the PlatformMessage to the host platform. This method is invoked on the ui thread.
Implements flutter::PlatformMessageHandler.
Definition at line 22 of file platform_view_embedder.cc.
|
inlinevirtual |
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 41 of file platform_view_embedder.cc.
|
inlinevirtual |
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 38 of file platform_view_embedder.cc.