get_device_by_id_async


Description:

[ Version ( since = "1.5.0" ) ]
public async Device get_device_by_id_async (string device_id, Cancellable? cancellable) throws Error

Gets a device by it's device ID.

You must have called [method@Client.connect_async] on this before using this method.

Parameters:

this

a Client

device_id

the device ID

cancellable

optional Cancellable

callback

the function to run on completion

callback_data

the data to pass to callback