connect_async


Description:

[ Version ( since = "1.5.0" ) ]
public async bool connect_async (Cancellable? cancellable) throws Error

Sets up the client ready for use.

This is probably the first method you call when wanting to use libfwupd in an asynchronous manner.

Other methods such as get_devices_async should only be called after connect_async.end has been called without an error.

Parameters:

this

A Client

cancellable

the Cancellable, or null

callback

the function to run on completion

callback_data

the data to pass to callback