DeviceManager.getDeviceInfo Method

Module: DeviceManager

Definition

Fetches a device object by its ID.

get_device_info(device_id: int) -> DeviceInfo

Parameters

device_id int
in 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 int
in 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 int
in 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 int
in 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 int
in The identifier for the target device.

out The retrieved device object.

Returns

int
An error code.
See id3DevicesError file for the list of possible error codes.