[ Version ( since = "0.1.0" ) ]
public GenericArray<unowned Device> get_devices_by_kind_sync (DeviceKind kind, Cancellable? cancellable = null) throws Error
Get an array of the device objects of a specified kind.
WARNING: This function is synchronous, and may block. Do not use it in GUI applications.
this |
a Client instance. |
kind |
a DeviceKind, e.g. cd_device_kind_display |
cancellable |
a Cancellable or null |
an array of Device objects. |