DevicesJson.add Method

Module: DevicesJson

Definition

Adds an item to the DevicesJson object.

add(self, key: str, item: str) -> None

Parameters

key str
in Unique key of the item to add.

item str
in item to add.

Exceptions

An error has occurred during Devices Library execution.
void add(String? key, String? item)

Parameters

key String
in Unique key of the item to add.

item String
in item to add.

Exceptions

An error has occurred during Devices Library execution.
public void Add(string key, string item)

Parameters

key string
in Unique key of the item to add.

item string
in item to add.

Exceptions

An error has occurred during Devices Library execution.
public void add(String key, String item) throws DevicesException

Parameters

key String
in Unique key of the item to add.

item String
in item to add.

Exceptions

An error has occurred during Devices Library execution.
int id3DevicesJson_Add (
    ID3_DEVICES_JSON hDevicesJson,
    const char * key,
    const char * item)

Parameters

hDevicesJson ID3_DEVICES_JSON
in Handle to the DevicesJson object.

key const char *
in Unique key of the item to add.

item const char *
in item to add.

Returns

int
An error code.
See id3DevicesError file for the list of possible error codes.