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 [method@FwupdClient.get_devices_async] should only be called after [method@FwupdClient.connect_finish] has been called without an error.

Parameters:

this

a Client

cancellable

optional Cancellable

callback

the function to run on completion

callback_data

the data to pass to callback