DevicesJson.set Method

Module: DevicesJson

Definition

Sets an item of the DevicesJson object.

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

Parameters

key str
in Unique key of the item to set.

item str
in item to set.

Exceptions

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

Parameters

key String
in Unique key of the item to set.

item String
in item to set.

Exceptions

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

Parameters

key string
in Unique key of the item to set.

item string
in item to set.

Exceptions

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

Parameters

key String
in Unique key of the item to set.

item String
in item to set.

Exceptions

An error has occurred during Devices Library execution.
int id3DevicesJson_Set (
    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 set.

item const char *
in item to set.

Returns

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