PluginList Class¶
Namespace: id3.Devices
Definition¶
Manages a collection of plugin_info objects, facilitating operations like addition, removal, and enumeration of plugins within an application.
class PluginList
class PluginList implements Finalizable
public partial class PluginList
public class PluginList implements AutoCloseable, Serializable
typedef struct id3DevicesPluginList *ID3_DEVICES_PLUGIN_LIST;
Usage¶
pluginListInstance = PluginList()
# ...
Explicit destruction
# ...
del pluginListInstance
final pluginListInstance = sdk.PluginList();
// ...
Explicit destruction
// ...
pluginListInstance.dispose()
using (var pluginListInstance = new PluginList())
{
// ...
}
Explicit destruction
var pluginListInstance = new PluginList()
// ...
pluginListInstance.Dispose()
try (PluginList pluginListInstance = new PluginList()) {
// ...
}
Explicit destruction
PluginList pluginListInstance = new PluginList();
// ...
pluginListInstance.close();
ID3_DEVICES_PLUGIN_LIST hPluginList{};
int err = id3DevicesPluginList_Initialize(&hPluginList);
if (err == ID3_SUCCESS) {
// ...
id3DevicesPluginList_Dispose(&hPluginList);
}
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 PluginList object. |
|
Clears the PluginList object. |
|
Gets an item of the PluginList object. |
|
Gets the number of elements in the PluginList object. |
|
Removes an element of the PluginList object. |
|
PluginList object. |
|
Sets an item of the PluginList object. |