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