Moves an entry to a different location on the file system.
Entry.moveTo(dirEntry, newName, successCallback, errorCallback)
Name |
Description |
Type |
Use |
dirEntry |
The directory to which the entry is moved. |
DirectoryEntry
|
required |
newName |
A new name of the entry. If not specified it is the entry current name. |
DOMString
|
optional |
successCallback |
A callback that is called with the entry for the new object. |
EntryCallback
|
optional |
errorCallback |
A callback that is called when errors happen. |
ErrorCallback
|
optional |
This method does not return anything.