# saveData
Description
Local storage of some user data.
Information about the recording is provided in the On_dataSaved notification.
void saveData(string sContainerNamer, string sData, string sFlags)
Parameters
Name | Description |
---|---|
sContainerNamer | Name of a container where data will be saved |
sData | Data to be saved |
sFlags | Save flag. It can be as follows: • "def" - If a container with the same name already exists, all data will be overwritten (previous data will be lost) • "beg" - If a container with the same name already exists, then new data will be written to the beginning (previous data will be saved) • "ate" - If a container with the same name already exists, then new data will be written to the end (previous data will be saved) |
Response example
{
"method" : "saveData",
"requestId" : "1",
"result" : true
}
Response Parameters
Name | Description |
---|---|
requestId | A unique request identifier |
result | A flag indicating whether the request was successful |
See also