Retrieves information about the system tray. If the system tray is not set, it will throw an error message.
Example
async function getTrayIconInfo() {
const app = await fin.Application.wrap({ uuid: 'testapp' });
return await app.getTrayIconInfo();
}
getTrayIconInfo().then(info => console.log(info)).catch(err => console.log(err));