connect_sync


Description:

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

Connects to the colord daemon.

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

Parameters:

this

a Client instance.

cancellable

a Cancellable or null

Returns:

true for success, else false.