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 |
---|---|---|
int |
Gets the number of elements contained in the list |
|
operator [int index] |
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 |
---|---|
Adds an item to the DeviceInfoList object. |
|
Clears the DeviceInfoList object. |
|
Gets an item of the DeviceInfoList object. |
|
Gets the number of elements in the DeviceInfoList object. |
|
Removes an element of the DeviceInfoList object. |
|
DeviceInfoList object. |
|
Sets an item of the DeviceInfoList object. |