find_device_by_property_sync
Description:
[ Version ( since = "0.1.8" ) ]
public Device find_device_by_property_sync (string key, string value, Cancellable? cancellable = null) throws Error
public Device find_device_by_property_sync (string key, string value, Cancellable? cancellable = null) throws Error
Finds a color device that has a property value.
WARNING: This function is synchronous, and may block. Do not use it in GUI applications.
Parameters:
this |
a Client instance. |
key |
The device property key. |
value |
The device property value. |
cancellable |
a Cancellable or null |
Returns:
A Device object, or null for error |