Support Thunder Plugin Access from AAMP.
More...
#include <ThunderAccess.h>
|
JSONRPC::LinkType< Core::JSON::IElement > * | remoteObject |
|
JSONRPC::LinkType< Core::JSON::IElement > * | controllerObject |
|
std::string | pluginCallsign |
|
AampLogManager * | mLogObj |
|
Support Thunder Plugin Access from AAMP.
Definition at line 41 of file ThunderAccess.h.
◆ ~ThunderAccessAAMP()
ThunderAccessAAMP::~ThunderAccessAAMP |
( |
| ) |
|
◆ ActivatePlugin()
bool ThunderAccessAAMP::ActivatePlugin |
( |
| ) |
|
ActivatePlugin.
- Note
- Plugin activation and Remote object creation
- Parameters
-
- Return values
-
true | on success |
false | on failure |
Definition at line 120 of file ThunderAccess.cpp.
◆ InvokeJSONRPC()
ThunderAccessAAMP::InvokeJSONRPC |
( |
std::string |
method, |
|
|
const JsonObject & |
param, |
|
|
JsonObject & |
result, |
|
|
const uint32_t |
waitTime = 5000 |
|
) |
| |
invokeJSONRPC
- Note
- Invoke JSONRPC call for the plugin
-
Invoke JSONRPC call for the plugin
- Parameters
-
method,param,result,method,waitTime | reference to input param, result and waitTime (default = THUNDER_RPC_TIMEOUT) |
- Return values
-
true | on success |
false | on failure |
Definition at line 196 of file ThunderAccess.cpp.
◆ SubscribeEvent()
ThunderAccessAAMP::SubscribeEvent |
( |
string |
eventName, |
|
|
std::function< void(const WPEFramework::Core::JSON::VariantContainer &)> |
functionHandler |
|
) |
| |
subscribeEvent
- Note
- Subscribe event data for the specific plugin
- Parameters
-
eventName,functionHandler | Event name, Event handler |
- Return values
-
true | on success |
false | on failure |
Definition at line 153 of file ThunderAccess.cpp.
◆ UnSubscribeEvent()
ThunderAccessAAMP::UnSubscribeEvent |
( |
string |
eventName | ) |
|
unSubscribeEvent
- Note
- unSubscribe event data for the specific plugin
- Parameters
-
- Return values
-
true | on success |
false | on failure |
Definition at line 178 of file ThunderAccess.cpp.
◆ remoteObject
JSONRPC::LinkType<Core::JSON::IElement>* ThunderAccessAAMP::remoteObject |
|
private |
< The Remote object connected to specific Plugin The Remote object connected to controller Plugin
Definition at line 104 of file ThunderAccess.h.
The documentation for this class was generated from the following files: