find_sensor_sync


Description:

[ 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.

Parameters:

this

a Client instance.

id

The sensor ID.

cancellable

a Cancellable or null

Returns:

A Sensor object, or null for error




2022 vala-language.org