DevicesJson.get Method¶
Module: DevicesJson
Definition¶
Gets an item of the DevicesJson object.
get(self, key: str) -> str
Parameters
keystrin Unique key of the item to get.
Returns
stritem to get.
Exceptions
An error has occurred during Devices Library execution.
String get(String? key)
Parameters
keyStringin Unique key of the item to get.
Returns
Stringitem to get.
Exceptions
An error has occurred during Devices Library execution.
public string Get(string key)
Parameters
keystringin Unique key of the item to get.
Returns
stringitem to get.
Exceptions
An error has occurred during Devices Library execution.
public String get(String key) throws DevicesException
Parameters
keyStringin Unique key of the item to get.
Returns
Stringitem to get.
Exceptions
An error has occurred during Devices Library execution.
int id3DevicesJson_Get (
ID3_DEVICES_JSON hDevicesJson,
const char * key,
char * item,
int * itemSize)
Parameters
hDevicesJsonID3_DEVICES_JSONin Handle to the DevicesJson object.keyconst char *in Unique key of the item to get.itemchar *out item to get.itemSizeint *in Size of the ‘item’ buffer. Receives the minimum required buffer size to hold the ‘item’ string if the given one is too small (including the terminating NULL character), otherwise receives the number of characters in ‘item’ (excluding terminating NULL character).
Returns