RemoteStorage.Sync

Summary
RemoteStorage.Sync
Functions
sync
getSyncIntervalGet the value of the sync interval when application is in the foreground
setSyncIntervalSet the value of the sync interval when application is in the foreground
getBackgroundSyncIntervalGet the value of the sync interval when application is in the background
setBackgroundSyncIntervalSet the value of the sync interval when the application is in the background
getCurrentSyncIntervalGet the value of the current sync interval

Functions

sync

sync: function()

getSyncInterval

RemoteStorage.prototype.getSyncInterval = function()

Get the value of the sync interval when application is in the foreground

Returns a number of milliseconds

setSyncInterval

RemoteStorage.prototype.setSyncInterval = function(interval)

Set the value of the sync interval when application is in the foreground

Parameters

intervalsync interval in milliseconds

getBackgroundSyncInterval

RemoteStorage.prototype.getBackgroundSyncInterval = function()

Get the value of the sync interval when application is in the background

Returns a number of milliseconds

setBackgroundSyncInterval

RemoteStorage.prototype.setBackgroundSyncInterval = function(interval)

Set the value of the sync interval when the application is in the background

Parameters

intervalsync interval in milliseconds

getCurrentSyncInterval

RemoteStorage.prototype.getCurrentSyncInterval = function()

Get the value of the current sync interval

Returns a number of milliseconds

sync: function()
RemoteStorage.prototype.getSyncInterval = function()
Get the value of the sync interval when application is in the foreground
RemoteStorage.prototype.setSyncInterval = function(interval)
Set the value of the sync interval when application is in the foreground
RemoteStorage.prototype.getBackgroundSyncInterval = function()
Get the value of the sync interval when application is in the background
RemoteStorage.prototype.setBackgroundSyncInterval = function(interval)
Set the value of the sync interval when the application is in the background
RemoteStorage.prototype.getCurrentSyncInterval = function()
Get the value of the current sync interval
Close