Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
A
 addEventListener, eventhandling
C
 cachingLayer, cachinglayer
 checkPath, RemoteStorage.Caching
 claim, RemoteStorage.Access
 connect, RemoteStorage
D
 declareType, RemoteStorage.BaseClient
 defineModule, RemoteStorage
 disable, RemoteStorage.Caching
 disableLog, RemoteStorage
 disconnect, RemoteStorage
 display
 displayWidget
E
 enable, RemoteStorage.Caching
 enableLog, RemoteStorage
 eventHandling, eventhandling
F
 fetchDelta, RemoteStorage.Dropbox
 fixArrayBuffers, cachinglayer
G
 getAll, RemoteStorage.BaseClient
 getBackgroundSyncInterval, RemoteStorage.Sync
 getCurrentSyncInterval, RemoteStorage.Sync
 getFile, RemoteStorage.BaseClient
 getItemURL, RemoteStorage.BaseClient
 getListing, RemoteStorage.BaseClient
 getObject, RemoteStorage.BaseClient
 getSyncInterval, RemoteStorage.Sync
H
 hideBubble, RemoteStorage.Widget.View
L
 log
O
 on, eventhandling.eventhandling
 onActivate, RemoteStorage.Caching
 onChange, RemoteStorage
R
 remove, RemoteStorage.BaseClient
 removeEventListener, eventhandling
 reset, RemoteStorage.Caching
 RS#scope, RemoteStorage.BaseClient
S
 scope, RemoteStorage.BaseClient
 set, RemoteStorage.Caching
 setApiKeys(experimental), RemoteStorage
 setBackgroundSyncInterval, RemoteStorage.Sync
 setState, RemoteStorage.Widget.View
 setSyncInterval, RemoteStorage.Sync
 setUserAddress, RemoteStorage.Widget.View
 setUserSecretKey, RemoteStorage.Widget.View
 setView(view), RemoteStorage.Widget
 showBubble, RemoteStorage.Widget.View
 storeFile, RemoteStorage.BaseClient
 storeObject, RemoteStorage.BaseClient
 sync, RemoteStorage.Sync
T
 toggleBubble, RemoteStorage.Widget.View
V
 validate, RemoteStorage.BaseClient
addEventListener: function(eventName,
handler)
Install an event handler for the given event name
RemoteStorage.cachingLayer = function(object)
Mixes common caching layer functionality into an object.
checkPath: function(path)
Retrieve caching setting for a given path, or its next parent with a caching strategy set.
claim: function(scope,
mode)
Claim access on a given scope with given mode.
connect: function(userAddress)
Connect to a remoteStorage server.
Declare a remoteStorage object type using a JSON schema.
RemoteStorage.defineModule = function(moduleName,
builder)
Method for defining a new remoteStorage data module
disable: function(path)
Disable caching for a given path.
disableLog: function()
Disable remoteStorage logging
disconnect: function()
“Disconnect” from remotestorage server to terminate current session.
display: function(options)
Displays the widget via the view.display method
display: function(options)
Draw the widget inside of the dom element with the id options.domID
Displays the widget at the top right of the page.
RemoteStorage.prototype.displayWidget = function(options)
Same as display
enable: function(path)
Enable caching for a given path.
enableLog: function()
Enable remoteStorage logging
RemoteStorage.eventHandling = function(object)
Mixes event handling functionality into an object.
fetchDelta: function()
this method fetches the deltas from the dropbox api, used to sync the storage here we retrive changes and put them into the _revCache, those values will then be used to determin if something has changed.
function fixArrayBuffers(srcObj,
dstObj)
Takes an object and its copy as produced by the _deepClone function below, and finds and fixes any ArrayBuffers that were cast to `{}` instead of being cloned to new ArrayBuffers with the same content.
getAll: function(path,
maxAge)
Get all objects directly below a given path.
RemoteStorage.prototype.getBackgroundSyncInterval = function()
Get the value of the sync interval when application is in the background
RemoteStorage.prototype.getCurrentSyncInterval = function()
Get the value of the current sync interval
getFile: function(path,
maxAge)
Get the file at the given path.
getItemURL: function(path)
Retrieve full URL of item
getListing: function(path,
maxAge)
Get a list of child nodes below a given path.
getObject: function(path,
maxAge)
Get a JSON object from given path.
RemoteStorage.prototype.getSyncInterval = function()
Get the value of the sync interval when application is in the foreground
hideBubble: function()
Hide the bubble
log: function()
The same as RemoteStorage.log.
RemoteStorage.log = function()
Log using console.log, when remoteStorage logging is enabled.
Alias for addEventListener
onActivate: function(cb)
Set a callback for when caching is activated for a path.
onChange: function(path,
handler)
Add a “change” event handler to the given path.
remove: function(path)
Remove node at given path from storage.
removeEventListener: function(eventName,
handler)
Remove a previously installed event handler
reset: function()
Reset the state of caching by deleting all caching information.
Returns a new RS.BaseClient scoped to the given path.
scope: function(path)
Returns a new BaseClient operating on a subpath of the current base path.
set: function(path,
value)
Set the caching strategy for a given path explicitly.
setApiKeys: function(type,
keys)
Set API keys for (currently) GoogleDrive and/or Dropbox backend support.
RemoteStorage.prototype.setBackgroundSyncInterval = function(interval)
Set the value of the sync interval when the application is in the background
setState: function(state,
args)
Call the function that applies the state to the widget
RemoteStorage.prototype.setSyncInterval = function(interval)
Set the value of the sync interval when application is in the foreground
setUserAddress: function(addr)
Set user address of the input field
setUserSecretKey: function(secretKey)
Set user secret key
setView: function(view)
Sets the view and initializes event listeners to react on widget (widget.view) events
showBubble: function(event)
Show the bubble
storeFile: function(mimeType,
path,
body)
Store raw data at a given path.
storeObject: function(typeAlias,
path,
object)
Store object at given path.
sync: function()
toggleBubble: function(event)
Show the bubble when hidden and the other way around
validate: function(object)
Validate an object against the associated schema.
Close