Native/Browser execution module
Members
-
static,readonlymodule:bridge.CallbackStatusnumber
-
Status values
Methods
-
staticexecute(moduleID, functionName, callback){string}
-
Execute a native/browser command
Name Type Description moduleIDstring The id of the module
functionNamestring -
callbackfunction Function to be called when the event is triggered
Returns:
Type Description string uuid to reference this slot-callback pair -
staticnativeCallback(callbackID, status, params)
-
Function called from native to fire a single callback It will always be executed on the main thread.
Name Type Description callbackIDstring Unique ID of the stored callback
statusCallbackStatus Callback status
paramsObject Parameters
-
staticnativeCallback()
-