Gets basic window information.
Response
The response is packaged in a windowInfo object, which looks something like this:
{
url: '...', // properly formatted Uniform Resource Locator
title: '...' // page title appearing in title bar of window
}
Example
var finWindow = fin.desktop.Window.getCurrent();
finWindow.getInfo(info => {
console.log('Window URL: ', info.url);
console.log('Window title: ', info.title);
});