Version: Smart Feature Phone 2.5
DeviceStorage.add()
Summary#
The add method is used to add a file inside a given storage area.
When a file is added with this method, its name is generated automatically and is available within the request's result which is a File object.
Syntax#
Parameters#
file
A Blob object representing the file to add (note that a File object is also a Blob object).
Returns#
It returns a DOMRequest object to handle the success or error of the operation.