DeviceInfoList.add Method

Module: DeviceInfoList

Definition

Adds an item to the DeviceInfoList object.

add(self, device_info_item: DeviceInfo) -> None

Parameters

device_info_item DeviceInfo
in DeviceInfo item to add.

Exceptions

An error has occurred during Devices Library execution.
void add(DeviceInfo deviceInfoItem)

Parameters

deviceInfoItem DeviceInfo
in DeviceInfo item to add.

Exceptions

An error has occurred during Devices Library execution.
public void Add(DeviceInfo deviceInfoItem)

Parameters

deviceInfoItem DeviceInfo
in DeviceInfo item to add.

Exceptions

An error has occurred during Devices Library execution.
public void add(DeviceInfo deviceInfoItem) throws DevicesException

Parameters

deviceInfoItem DeviceInfo
in DeviceInfo item to add.

Exceptions

An error has occurred during Devices Library execution.
int id3DevicesDeviceInfoList_Add (
    ID3_DEVICES_DEVICE_INFO_LIST hDeviceInfoList,
    ID3_DEVICES_DEVICE_INFO hDeviceInfoItem)

Parameters

in Handle to the DeviceInfoList object.

hDeviceInfoItem ID3_DEVICES_DEVICE_INFO
in DeviceInfo item to add.

Returns

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