CallScript
This is basically a shortcut method for calling scripts within scripts. It is equivalent to:
var proxy = bridge.getScriptServiceProxy();
var res = proxy.runScript("scriptName", scriptdata);
Usage
http://localhost:3000
- C#
- C++
- Objective-C
- Java
- JavaScript
- Dart
- Cloud Code
- Raw
// S2S call: to view example, switch to the Cloud Code or Raw tab.
// S2S call: to view example, switch to the Cloud Code or Raw tab.
// S2S call: to view example, switch to the Cloud Code or Raw tab.
// S2S call: to view example, switch to the Cloud Code or Raw tab.
// S2S call: to view example, switch to the Cloud Code or Raw tab.
// S2S call: to view example, switch to the Cloud Code or Raw tab.
var scriptdata = {};
var res = bridge.callScript("scriptName", scriptdata);
var scriptdata = {};
var res = bridge.callScript("scriptName", scriptdata);