Page tree
Skip to end of metadata
Go to start of metadata

FB::variant FB::JSAPIProxy::Invoke ( const std::string &  methodName,
const std::vector< variant > &  args 

Called by the browser to invoke a method on the JSAPI object.

methodNameName of the method.
argsThe arguments.
result of method call

Implements FB::JSAPI.

Definition at line 247 of file JSAPIProxy.cpp.

248 {
249  FB::scoped_zonelock _l(getAPI(), getZone());
250  return getAPI()->Invoke(methodName, args);
251 }
Provides a helper class for locking.
Definition: JSAPI.h:548
virtual SecurityZone getZone() const
Gets the currently active zone.
Definition: JSAPIImpl.h:238
  • No labels