Skip to content
This repository has been archived by the owner on Feb 28, 2024. It is now read-only.

Synchronization

Martina Kellnerová edited this page Feb 26, 2018 · 3 revisions

Synchronization module allows server synchronization of user data.

See synchroniation module api-doc.

Working with synchronization module requires enabled user-data.

Synchronization module fully synchronizes all user data with the server. As "user-data" we mean trips & favorites. However, you may use trips & favorites without session and synchronization.

To trigger synchronization, call synchronize() method. This method doesn't return any value. If there is an already-running synchronization loop, no new synchronization is triggered. Synchronization result may be obtained through events in Events module.

Optionally, you may check if there are any local unsynchronized changes by calling hasChangesToSynchronize().

Clone this wiki locally