56std::map<std::string, std::string>
65std::vector<std::map<std::string, std::string>>
76 const std::string& accountId,
77 const std::string& key,
78 const std::string& value)
89std::map<std::string, std::string>
103 .getJamiPluginManager()
104 .resetPluginPreferencesValuesMap(path, accountId);
108std::vector<std::string>
117std::vector<std::string>
147std::map<std::string, std::string>
155std::vector<std::string>
160 .getJamiPluginManager()
161 .getCallServicesManager()
162 .getCallMediaHandlers();
167std::vector<std::string>
172 .getJamiPluginManager()
173 .getChatServicesManager()
184 .getJamiPluginManager()
185 .getCallServicesManager()
186 .toggleCallMediaHandler(mediaHandlerId, callId, toggle);
192 const std::string& accountId,
193 const std::string& peerId,
198 .getJamiPluginManager()
199 .getChatServicesManager()
200 .toggleChatHandler(chatHandlerId, accountId, peerId, toggle);
204std::map<std::string, std::string>
209 .getJamiPluginManager()
210 .getCallServicesManager()
211 .getCallMediaHandlerDetails(mediaHandlerId);
216std::vector<std::string>
221 .getJamiPluginManager()
222 .getCallServicesManager()
223 .getCallMediaHandlerStatus(callId);
228std::map<std::string, std::string>
233 .getJamiPluginManager()
234 .getChatServicesManager()
235 .getChatHandlerDetails(chatHandlerId);
240std::vector<std::string>
245 .getJamiPluginManager()
246 .getChatServicesManager()
247 .getChatHandlerStatus(accountId, peerId);
278 const std::string& webViewId,
279 const std::string& messageId,
280 const std::string& payload)
284 .getJamiPluginManager()
285 .getWebViewServicesManager()
286 .sendWebViewMessage(pluginId, webViewId, messageId, payload);
292 const std::string& accountId,
293 const std::string& webViewId,
294 const std::string& action)
298 .getJamiPluginManager()
299 .getWebViewServicesManager()
300 .sendWebViewAttach(pluginId, accountId, webViewId, action);
309 .getJamiPluginManager()
310 .getWebViewServicesManager()
311 .sendWebViewDetach(pluginId, webViewId);
static LIBJAMI_TEST_EXPORT Manager & instance()
void saveConfig()
Save config to file.
void toggleChatHandler(const std::string &chatHandlerId, const std::string &accountId, const std::string &peerId, bool toggle)
void toggleCallMediaHandler(const std::string &mediaHandlerId, const std::string &callId, bool toggle)
void sendWebViewDetach(const std::string &pluginId, const std::string &webViewId)
std::map< std::string, std::string > getPlatformInfo()
std::vector< std::string > getLoadedPlugins()
std::map< std::string, std::string > getCallMediaHandlerDetails(const std::string &mediaHandlerId)
bool unloadPlugin(const std::string &path)
bool setPluginPreference(const std::string &path, const std::string &accountId, const std::string &key, const std::string &value)
void sendWebViewMessage(const std::string &pluginId, const std::string &webViewId, const std::string &messageId, const std::string &payload)
std::vector< std::map< std::string, std::string > > getPluginPreferences(const std::string &path, const std::string &accountId)
std::map< std::string, std::string > getPluginPreferencesValues(const std::string &path, const std::string &accountId)
std::string sendWebViewAttach(const std::string &pluginId, const std::string &accountId, const std::string &webViewId, const std::string &action)
std::map< std::string, std::string > getChatHandlerDetails(const std::string &chatHandlerId)
std::vector< std::string > getChatHandlers()
bool resetPluginPreferencesValues(const std::string &path, const std::string &accountId)
std::map< std::string, std::string > getPluginDetails(const std::string &path)
std::vector< std::string > getCallMediaHandlerStatus(const std::string &callId)
std::vector< std::string > getChatHandlerStatus(const std::string &accountId, const std::string &peerId)
std::vector< std::string > getCallMediaHandlers()
void setPluginsEnabled(bool state)
int installPlugin(const std::string &jplPath, bool force)
int uninstallPlugin(const std::string &pluginRootPath)
bool loadPlugin(const std::string &path)
std::vector< std::string > getInstalledPlugins()