openspace.sync

Functions overview

Name

Documentation

syncResource

Synchronizes the http resource identified by the name passed as the first parameter and the version provided as the second parameter

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

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.

Parameters
  • identifier String

  • version Integer

Return type: Boolean

Signature
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.

Parameters
  • identifier String

  • version Integer?

Return type: void

Signature
openspace.sync.unsyncResource(identifier, version)