You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var client =UPowerClient();
client.connect();
awaitfor (var name in client.displayDevice.propertyChanges) {
if (name =='State') {
print (client.displayDevice.state);
}
}
robert-ancell
changed the title
Add API to indicate when properties change
Add API to indicate when properties change or devices are added/removed.
Sep 15, 2020
The objects detect this, but it's not exposed over the API.
The text was updated successfully, but these errors were encountered: