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

Synchronization

Jan Skrasek edited this page Feb 22, 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 synchronize all user data with server. As "user-data" we count trips & favorites. Though, 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 already running synchronization loop, no new synchronization is triggered. Synchronizaiton result may be obtained through events in Events module.

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

Clone this wiki locally