Tutorial: application.getInfo

application.getInfo

Retrieves information about the application.

response

{
    launchMode: 'fin-protocol' || 'fins-protocol' || 'shortcut' || 'command-line' || 'adapter' || 'other' || a process name (ex: 'openfin.exe')
}

Example

const app = fin.desktop.Application.getCurrent();

app.getInfo(info => {
    console.log(`Launch mode: ${info.launchMode}`);
});