I am working on a code where I pass a function from javascript
exportManager.RegisterCallbacks(function(progress) {
console.log("export prog " + progress);
}, function() {
console.log("Export Done");
}, function() {
console.log("Export Error");
}, function() {
console.log("Export Abort");
});
Within the plugin
m_currentExportProgress += progress;
int prog = (m_currentExportProgress.load() / m_totalProgress) * 100;
m_onProgress->InvokeAsync("", FB::variant_list_of(shared_from_this())(prog));
However, when I display the result, it shows
export prog <JSAPI-Auto Javascript Object>