Tutorial: application.registerCustomData

application.registerCustomData

Ferries a custom payload to the RVM.

Example

var application = fin.desktop.Application.getCurrent();

application.registerCustomData({
    someData: "this is custom"
}, function () {
    console.log("You will not read this.");
}, function (err) {
    console.log("failure:", err);
});