modify_device
Description:
[ Version ( since = "1.0.4" ) ]
public bool modify_device (string device_id, string key, string value, Cancellable? cancellable = null) throws Error
public bool modify_device (string device_id, string key, string value, Cancellable? cancellable = null) throws Error
Modifies a device in a specific way.
Not all properties on the Device are settable by the client, and some may have other
restrictions on value
.
NOTE: User authentication may be required to complete this action.
Parameters:
this |
A Client |
device_id |
the device ID |
key |
the key, e.g. `Flags` |
value |
the key, e.g. `reported` |
cancellable |
the Cancellable, or null |
Returns:
true for success |