Let an app know if it's pinned
At the moment there's no way for an app to know if its primary live tile is visible or not. As half the point of my app is the information on the live tile, I'd like to have a polite reminder show every so often if they haven't pinned it, but I simply don't know whether they have or not.
In the Creators Update (Build 15063), we added the primary tile APIs which let you check whether your primary tile is pinned, and request to pin your primary tile. Learn about it here: https://docs.microsoft.com/en-us/windows/uwp/controls-and-patterns/tiles-and-notifications-primary-tile-apis
Timothy Huber commented
From what I could tell, there's also no way to pin the primary tile from within the app. Both features would be nice in the API, since they work for secondary tiles.
Hans Zaadnoordijk commented
Like Ian Lee, I would like to know whether an app's tile is pinned to prevent my background agent from doing unnecessary work.
Ian Lee commented
Agreed. There is also a power savings to be created by having this feature. I have a ScheduledTaskAgent that regularly downloads data and builds new tile images. If I could detect if the tile was actually pinned then I would be able to avoid this work because it wouldn't be necessary.