Client


Description:

[ CCode ( has_construct_function = false ) ]
public Client (string[]? subsystems)

Constructs a Client object that can be used to query information about devices.

Connect to the uevent signal to listen for uevents. Note that signals are emitted in the thread-default main loop of the thread that you call this constructor from.

Parameters:

subsystems

A null terminated string array of subsystems to listen for uevents on, null to not listen on uevents at all, or an empty array to listen to uevents on all subsystems. See the documentation for the subsystems property for details on this parameter.

Returns:

A new Client object. Free with unref.