Flutter Engine
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 33 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 50 of file service_protocol.h.

Member Function Documentation

◆ GetServiceProtocolDescription()

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

◆ GetServiceProtocolHandlerTaskRunner()

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

◆ HandleServiceProtocolMessage()

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

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