Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Classes | Public Types | Public Member Functions | List of all members
flutter::ServiceProtocol::Handler Class Referenceabstract

#include <service_protocol.h>

Inheritance diagram for flutter::ServiceProtocol::Handler:
flutter::Shell

Classes

struct  Description
 

Public Types

using ServiceProtocolMap = std::map< std::string_view, std::string_view >
 

Public Member Functions

virtual fml::RefPtr< fml::TaskRunnerGetServiceProtocolHandlerTaskRunner (std::string_view method) const =0
 
virtual Description GetServiceProtocolDescription () const =0
 
virtual bool HandleServiceProtocolMessage (std::string_view method, const ServiceProtocolMap &params, rapidjson::Document *response)=0
 

Detailed Description

Definition at line 35 of file service_protocol.h.

Member Typedef Documentation

◆ ServiceProtocolMap

using flutter::ServiceProtocol::Handler::ServiceProtocolMap = std::map<std::string_view, std::string_view>

Definition at line 52 of file service_protocol.h.

Member Function Documentation

◆ GetServiceProtocolDescription()

virtual Description flutter::ServiceProtocol::Handler::GetServiceProtocolDescription ( ) const
pure virtual

Implemented in flutter::Shell.

◆ GetServiceProtocolHandlerTaskRunner()

virtual fml::RefPtr< fml::TaskRunner > flutter::ServiceProtocol::Handler::GetServiceProtocolHandlerTaskRunner ( std::string_view  method) const
pure virtual

Implemented in flutter::Shell.

◆ HandleServiceProtocolMessage()

virtual bool flutter::ServiceProtocol::Handler::HandleServiceProtocolMessage ( std::string_view  method,
const ServiceProtocolMap params,
rapidjson::Document *  response 
)
pure virtual

Implemented in flutter::Shell.


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