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

count

int

Gets the number of elements contained in the list

operator [int index]

PluginInfo

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 PluginList object.

clear

Clears the PluginList object.

get

Gets an item of the PluginList object.

getCount

Gets the number of elements in the PluginList object.

removeAt

Removes an element of the PluginList object.

resize

PluginList object.

set

Sets an item of the PluginList object.