DeviceInfoList Class

Namespace: id3.Devices

Definition

Represents a device info list.
class DeviceInfoList
class DeviceInfoList implements Finalizable
public partial class DeviceInfoList
public class DeviceInfoList implements AutoCloseable, Serializable
typedef struct id3DevicesDeviceInfoList *ID3_DEVICES_DEVICE_INFO_LIST;

Usage

deviceInfoListInstance = DeviceInfoList()
# ...

Explicit destruction

# ...
del deviceInfoListInstance
final deviceInfoListInstance = sdk.DeviceInfoList();
// ...

Explicit destruction

// ...
deviceInfoListInstance.dispose()
using (var deviceInfoListInstance = new DeviceInfoList())
{
   // ...
}

Explicit destruction

var deviceInfoListInstance = new DeviceInfoList()
// ...
deviceInfoListInstance.Dispose()
try (DeviceInfoList deviceInfoListInstance = new DeviceInfoList()) {
// ...
}

Explicit destruction

DeviceInfoList deviceInfoListInstance = new DeviceInfoList();
// ...
deviceInfoListInstance.close();
ID3_DEVICES_DEVICE_INFO_LIST hDeviceInfoList{};
int err = id3DevicesDeviceInfoList_Initialize(&hDeviceInfoList);
if (err == ID3_SUCCESS) {
    // ...
    id3DevicesDeviceInfoList_Dispose(&hDeviceInfoList);
}

Properties

Name

Type

Description

count

int

Gets the number of elements contained in the list

operator [int index]

DeviceInfo

Gets or sets the element at the specified index in the list.

Iteration

This class supports iteration in Dart, C#, Java and Python.

Methods

Name

Description

add

Adds an item to the DeviceInfoList object.

clear

Clears the DeviceInfoList object.

get

Gets an item of the DeviceInfoList object.

getCount

Gets the number of elements in the DeviceInfoList object.

removeAt

Removes an element of the DeviceInfoList object.

resize

DeviceInfoList object.

set

Sets an item of the DeviceInfoList object.