Ring Daemon 16.0.0
|
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 41 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 33 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 139 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 151 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 128 of file webviewservicesmanager.cpp.
References jami::emitSignal().