connect_sync


Description:

[ Version ( since = "0.1.8" ) ]
public bool connect_sync (Cancellable? cancellable = null) throws Error

Connects to the object and fills up initial properties.

WARNING: This function is synchronous, and may block. Do not use it in GUI applications.

Parameters:

this

a Sensor instance.

cancellable

a Cancellable or null

Returns:

true for success, else false.