Tutorial: application.registerCustomData

application.registerCustomData

Ferries a custom payload to the rvm

Example

var application = fin.desktop.Application.getCurrent();
function(data, callback, errorCallback) {
application.registerCustomData(
    {
            someData: "this is custom"
    },
    function () {
        console.log("You will not read this.");
    }, function (err) {
        console.log("failure:", err);
});