get_device_by_id


Description:

[ Version ( since = "0.9.3" ) ]
public Device get_device_by_id (string device_id, Cancellable? cancellable = null) throws Error

Gets a device by it's device ID.

Parameters:

this

A Client

device_id

the device ID, e.g. `usb:00:01:03:03`

cancellable

the Cancellable, or null

Returns:

a Device or null




2022 vala-language.org