Hi all,
I'm wondering if an app can subscribe to updated display names for devices? I've tried the following but I'm not getting anything. I suspect display name changes don't trigger events.
This is a just a property on the device object, not an attribute/event as in your example -- and nothing that triggers an event at the platform level that you can subscribe to.
Is there a reason for doing this? You can, of course, check the name any time you want, including when there is a device event (or, likely less desirably, on some schedule).
It's not important. I'm storing state information of some devices in my app & I store the display name of said devices for easy reading. I renamed one of the devices and realized I could find myself with stale information. I can easily refresh the display name, but was looking for a more elegant solution.