Is there a programmatic way to determine if a window is linked to any others?

I'd like to be able to code to determine if a window is linked to any others. I know that there is no way to programatically set a window link color , but is there a way to programatically see which window link color is currently in use?

Best Answer

  • I'm afraid not. An app can be simultaneously linked on multiple color coded broadcast channels. It can also be directionally linked to specific apps outside of color coded broadcast channels.

    You can monitor onLinked/onUnlinked events, which tell you when the app is being linked/unlinked to/from other apps, but this event does not provide any additional information such as what apps your app is being linked/unlinked to/from.