openspace.sync
Functions overview
Name |
Documentation |
---|---|
Synchronizes the http resource identified by the name passed as the first parameter and the version provided as the second parameter |
|
Unsynchronizes the http resources identified by the name passed as the first parameter by removing all data that was downloaded as part of the original synchronization |
Functions
syncResource
Synchronizes the http resource identified by the name passed as the first parameter and the version provided as the second parameter. The application will hang while the data is being downloaded.
identifier
String
version
Integer
Return type: Boolean
openspace.sync.syncResource(identifier, version)
unsyncResource
Unsynchronizes the http resources identified by the name passed as the first parameter by removing all data that was downloaded as part of the original synchronization. If the second parameter is provided, is it the version of the resources that is unsynchronized, if the parameter is not provided, all versions for the specified http resource are removed.
identifier
String
version
Integer?
Return type: void
openspace.sync.unsyncResource(identifier, version)