|
Ring Daemon
|
This class provides the interface between loaded WebViewHandlers and client webviews. More...
#include <webviewservicesmanager.h>

Public Member Functions | |
| NON_COPYABLE (WebViewServicesManager) | |
| std::string | sendWebViewAttach (const std::string &pluginId, const std::string &accountId, const std::string &webViewId, const std::string &action) |
| Transmits an attach event from the client's webview to the plugin. | |
| void | sendWebViewDetach (const std::string &pluginId, const std::string &webViewId) |
| Transmits a detach event from the client's webview to the plugin. | |
| void | sendWebViewMessage (const std::string &pluginId, const std::string &webViewId, const std::string &messageId, const std::string &payload) |
| Transmits a message from the client's webview to the plugin. | |
| WebViewServicesManager (PluginManager &pluginManager) | |
| Registers the WebViewHandler services with the PluginManager, allows for loading/unloading, and interaction with client webviews. | |
This class provides the interface between loaded WebViewHandlers and client webviews.
Definition at line 38 of file webviewservicesmanager.h.
| jami::WebViewServicesManager::WebViewServicesManager | ( | PluginManager & | pluginManager | ) |
Registers the WebViewHandler services with the PluginManager, allows for loading/unloading, and interaction with client webviews.
| pluginManager |
Definition at line 28 of file webviewservicesmanager.cpp.
References jami::emitSignal().

| jami::WebViewServicesManager::NON_COPYABLE | ( | WebViewServicesManager | ) |
| std::string jami::WebViewServicesManager::sendWebViewAttach | ( | const std::string & | pluginId, |
| const std::string & | accountId, | ||
| const std::string & | webViewId, | ||
| const std::string & | action | ||
| ) |
Transmits an attach event from the client's webview to the plugin.
| pluginId | |
| accountId | |
| webViewId | |
| action | The reason why the webview was created |
Definition at line 132 of file webviewservicesmanager.cpp.
References jami::emitSignal().

| void jami::WebViewServicesManager::sendWebViewDetach | ( | const std::string & | pluginId, |
| const std::string & | webViewId | ||
| ) |
Transmits a detach event from the client's webview to the plugin.
| pluginId | |
| webViewId |
Definition at line 144 of file webviewservicesmanager.cpp.
References jami::emitSignal().

| void jami::WebViewServicesManager::sendWebViewMessage | ( | const std::string & | pluginId, |
| const std::string & | webViewId, | ||
| const std::string & | messageId, | ||
| const std::string & | payload | ||
| ) |
Transmits a message from the client's webview to the plugin.
| pluginId | |
| webViewId | |
| messageId | |
| payload | The message itself |
Definition at line 121 of file webviewservicesmanager.cpp.
References jami::emitSignal().
