Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

OMI SDK

InvokeJSFunctionAsync Method

Invoke Javascript function from JSFunction object. In some of the case, from browser javascript side, try use the C# javascript function with function type argument, such as: RegisterJSFunction("csharpExecCallback", callback => InvokeJSFunctionAsync(callback, "TestResult")); So from browser javascript side, can call: window.csharpExecCallback(function(result) { console.log(result); });
In This Topic