DeviceManager.getDeviceInfo Method¶
Module: DeviceManager
Definition¶
Fetches a device object by its ID.
get_device_info(device_id: int) -> DeviceInfo
Parameters
device_id
intin The identifier for the target device.
Returns
The retrieved device object.
Exceptions
An error has occurred during Devices Library execution.
static DeviceInfo? getDeviceInfo(int deviceId)
Parameters
deviceId
intin The identifier for the target device.
Returns
The retrieved device object.
Exceptions
An error has occurred during Devices Library execution.
public static DeviceInfo GetDeviceInfo(int deviceId)
Parameters
deviceId
intin The identifier for the target device.
Returns
The retrieved device object.
Exceptions
An error has occurred during Devices Library execution.
public static DeviceInfo getDeviceInfo(int deviceId) throws DevicesException
Parameters
deviceId
intin The identifier for the target device.
Returns
The retrieved device object.
Exceptions
An error has occurred during Devices Library execution.
int id3DevicesDeviceManager_GetDeviceInfo (
int deviceId,
ID3_DEVICES_DEVICE_INFO hDeviceInfo)
Parameters
deviceId
intin The identifier for the target device.hDeviceInfo
ID3_DEVICES_DEVICE_INFOout The retrieved device object.
Returns