#ifndef CHANNEL_MANAGER_SERVICE_H #define CHANNEL_MANAGER_SERVICE_H #include "../FLTService.h" #include "Listen.h" #include #include #include class ChannelManagerService : public FLTService { public: ChannelManagerService(); void onMethodCalled( const std::string &method, const flutter::EncodableMap *arguments, std::shared_ptr> result); // Method handlers void setChannelListener( const flutter::EncodableMap *arguments, std::shared_ptr> result); void getChannelMembersInfo( const flutter::EncodableMap *arguments, std::shared_ptr> result); void getChannelMemberList( const flutter::EncodableMap *arguments, std::shared_ptr> result); void getChannelsInfo( const flutter::EncodableMap *arguments, std::shared_ptr> result); void joinChannel( const flutter::EncodableMap *arguments, std::shared_ptr> result); void quitChannel( const flutter::EncodableMap *arguments, std::shared_ptr> result); void changeChannelMute( const flutter::EncodableMap *arguments, std::shared_ptr> result); void changeChannelMemberMute( const flutter::EncodableMap *arguments, std::shared_ptr> result); void isJoinChannel( const flutter::EncodableMap *arguments, std::shared_ptr> result); void getUsersInChannel( const flutter::EncodableMap *arguments, std::shared_ptr> result); private: std::string m_serviceName; }; #endif // CHANNEL_MANAGER_SERVICE_H