DevicesJson Class¶
Namespace: id3.Devices
Definition¶
class DevicesJson
class DevicesJson implements Finalizable
public partial class DevicesJson
public class DevicesJson implements AutoCloseable, Serializable
typedef struct id3DevicesJson *ID3_DEVICES_JSON;
Usage¶
devicesJsonInstance = DevicesJson()
# ...
Explicit destruction
# ...
del devicesJsonInstance
final devicesJsonInstance = sdk.DevicesJson();
// ...
Explicit destruction
// ...
devicesJsonInstance.dispose()
using (var devicesJsonInstance = new DevicesJson())
{
// ...
}
Explicit destruction
var devicesJsonInstance = new DevicesJson()
// ...
devicesJsonInstance.Dispose()
try (DevicesJson devicesJsonInstance = new DevicesJson()) {
// ...
}
Explicit destruction
DevicesJson devicesJsonInstance = new DevicesJson();
// ...
devicesJsonInstance.close();
ID3_DEVICES_JSON hDevicesJson{};
int err = id3DevicesJson_Initialize(&hDevicesJson);
if (err == ID3_SUCCESS) {
// ...
id3DevicesJson_Dispose(&hDevicesJson);
}
Properties¶
Name |
Type |
Description |
---|---|---|
int |
Gets the number of elements contained in the dict |
|
Gets a string list containing the keys in the dict. |
||
operator [string key] |
string |
Gets or sets the element for the key in the dict. |
Iteration¶
This class supports iteration in Dart, C#, Java and Python.
The iteration is done on keys
Methods¶
Name |
Description |
---|---|
Adds an item to the DevicesJson object. |
|
Clears the DevicesJson object. |
|
Determines whether the DevicesJsonobject contains the specified key. |
|
Creates a JSON-formatted string from the internal representation of the data. |
|
Gets an item of the DevicesJson object. |
|
Gets the number of elements in the DevicesJson object. |
|
Converts a string in JSON format into a manageable format within the class. |
|
Removes an element of the DevicesJson object. |
|
Sets an item of the DevicesJson object. |