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