DeviceManager.getDeviceInfo Method¶
Module: DeviceManager
Definition¶
Fetches a device object by its ID.
get_device_info(device_id: int) -> DeviceInfo
Parameters
device_idintin 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
deviceIdintin 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
deviceIdintin 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
deviceIdintin 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
deviceIdintin The identifier for the target device.hDeviceInfoID3_DEVICES_DEVICE_INFOout The retrieved device object.
Returns