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
$#!
 _deleteSimple, RemoteStorage.Dropbox
 _getFolder, RemoteStorage.Dropbox
 _getMetadata, RemoteStorage.Dropbox
 _request, RemoteStorage.Dropbox
 _shareIfNeeded, RemoteStorage.Dropbox
 _uploadSimple, RemoteStorage.Dropbox
A
 addEventListener, eventhandling
C
 cachingLayer, cachinglayer
 checkPath, RemoteStorage.Caching
 claim, RemoteStorage.Access
 configure, RemoteStorage.WireClient
 connect
D
 declareType, RemoteStorage.BaseClient
 defineModule, RemoteStorage
 delete, RemoteStorage.Dropbox
 disable, RemoteStorage.Caching
 disableLog, RemoteStorage
 disconnect, RemoteStorage
 display
 displayWidget
E
 enable, RemoteStorage.Caching
 enableLog, RemoteStorage
 eventHandling, eventhandling
F
 fetchDelta, RemoteStorage.Dropbox
 fixArrayBuffers, RemoteStorage.Util
G
 get
 getAll, RemoteStorage.BaseClient
 getBackgroundSyncInterval, RemoteStorage.Sync
 getCurrentSyncInterval, RemoteStorage.Sync
 getDropboxPath(path)
 getFile, RemoteStorage.BaseClient
 getItemURL, RemoteStorage.BaseClient
 getListing, RemoteStorage.BaseClient
 getObject, RemoteStorage.BaseClient
 getSyncInterval, RemoteStorage.Sync
H
 hasFeature, RemoteStorage
 hideBubble, RemoteStorage.Widget.View
I
 info, RemoteStorage.Dropbox
J
 justDelete, LowerCaseCache
 justSet, LowerCaseCache
L
 log
O
 on, eventhandling.eventhandling
 onActivate, RemoteStorage.Caching
 onChange, RemoteStorage
P
 propagateDelete, LowerCaseCache
 propagateSet, LowerCaseCache
 put, RemoteStorage.Dropbox
R
 remove, RemoteStorage.BaseClient
 removeEventListener, eventhandling
 reset, RemoteStorage.Caching
 RS#scope, RemoteStorage.BaseClient
_deleteSimple: function (path)
Deletes a file or a folder.
_getFolder: function (path,
options)
Get all items in a folder.
_getMetadata: function (path,
options)
Gets metadata for a path (can point to either a file or a folder).
_request: function (method,
url,
options)
Make a HTTP request.
_shareIfNeeded: function (path)
Calls share, if the provided path resides in a public folder.
_uploadSimple: function (params)
Upload a simple file (the size is no more than 150MB).
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.
configure: function (settings)
Sets the userAddress, href, storageApi, token, and properties of a remote store.
connect: function (userAddress,
token)
Connect to a remoteStorage server.
connect: function ()
Set the backed to ‘dropbox’ and start the authentication flow in order to obtain an API token from Dropbox.
Declare a remoteStorage object type using a JSON schema.
RemoteStorage.defineModule = function (moduleName,
builder)
Method for defining a new remoteStorage data module
'delete': function (path,
options)
Compatible with RemoteStorage.WireClient.delete
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 ()
Fetches the revision of all the files from dropbox API and puts them into _revCache.
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.
get : function (key)
Get a value from the cache or defaultValue, if the key is not in the cache.
get: function (path,
options)
Compatible with RemoteStorage.WireClient.get
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
var getDropboxPath = function (path)
Map a local path to a path in DropBox.
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
hasFeature: function (feature)
Checks whether a feature is enabled or not within remoteStorage.
hideBubble: function ()
Hide the bubble
info: function ()
Fetches the user’s info from dropbox and returns a promise for it.
justDelete : function (key,
value)
Delete a value without propagating.
justSet : function (key,
value)
Set a value without propagating.
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.
propagateDelete : function (key)
Delete a value and propagate the changes to the parent folders.
propagateSet : function (key,
value)
Set a value and also update the parent folders with that value.
put: function (path,
body,
contentType,
options)
Compatible with RemoteStorage.WireClient
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.
Close