![]() |
![]() |
![]() |
DeviceKit Reference Manual | ![]() |
---|---|---|---|---|
org.freedesktop.DeviceKitorg.freedesktop.DeviceKit — DeviceKit interface |
InhibitShutdown (out 's' cookie) UninhibitShutdown (in 's' cookie) EnumerateBySubsystem (in 'as' subsystems, out 'a(sssasa{ss})' result) EnumerateByNativePath (in 'as' native_paths, out 'a(sssasa{ss})' result)
DeviceEvent ('s' action, 's' subsystem, 's' native_path, 's' device_file, 'as' device_file_symlinks, 'a{ss}' properties)
org.freedesktop.DeviceKit implements org.freedesktop.DBus.Introspectable, org.freedesktop.DBus.Properties
Keep the daemon from exiting on inactivity; this is useful for mechanisms that wants the daemon around for listening on signals.
|
The cookie that is used to stop inhibiting the daemon. |
Allow the daemon to exit when it's inactive. The cookie
parameter is the return value from InhibitShutdown()
.
|
The cookie. |
Enumerate devices on the system by subsystem. If the
subsystems parameter is empty devices from all subsystems
will be returned. See the DeviceEvent()
signal for a description of the return value.
|
List of subsystems to get devices from. |
|
The result as an array of structures containing the subsystem, native_path, device_file, device_file_symlinks and properties. |
Enumerate devices on the system given a list of native
paths. See the DeviceEvent()
signal
for a description of the return value.
|
List of native paths. |
|
The result as an array of structures containing the subsystem, native_path, device_file, device_file_symlinks and properties. |
DeviceEvent ('s' action, 's' subsystem, 's' native_path, 's' device_file, 'as' device_file_symlinks, 'a{ss}' properties)
This signal is emitted when an event occurs on a device such as change, add, remove.
|
The OS specific event. |
|
The subsystem the device belongs to. |
|
The OS specific native path of the device. |
|
The UNIX special device file for the device. |
|
A list of symlinks pointing to the UNIX special device file. |
|
A set of key/value pairs with OS specific properties for the device. |