It does this using requests to documents, and to folders. Whenever a folder GET comes in, it gives information about all the documents it contains (this is the `markChildren` function).
| RemoteStorage.Sync | |
| Functions | |
| sync | |
| getSyncInterval | Get the value of the sync interval when application is in the foreground |
| setSyncInterval | Set the value of the sync interval when application is in the foreground |
| getBackgroundSyncInterval | Get the value of the sync interval when application is in the background |
| setBackgroundSyncInterval | Set the value of the sync interval when the application is in the background |
| getCurrentSyncInterval | Get the value of the current sync interval |
sync: function ()
Get the value of the sync interval when application is in the foreground
RemoteStorage.prototype.getSyncInterval = function ()
Set the value of the sync interval when application is in the foreground
RemoteStorage.prototype.setSyncInterval = function ( interval )
Get the value of the sync interval when application is in the background
RemoteStorage.prototype.getBackgroundSyncInterval = function ()
Set the value of the sync interval when the application is in the background
RemoteStorage.prototype.setBackgroundSyncInterval = function ( interval )
Get the value of the current sync interval
RemoteStorage.prototype.getCurrentSyncInterval = function ()