Tutorial: window.getState

window.getState

Gets the current state ("minimized", "maximized", or "normal") of the window.

Example

var finWindow = fin.desktop.Window.getCurrent();

finWindow.getState(function (state) {
    console.log("state: " +  state);
});