You can implement a synchronization status listener to track synchronization progress.
Create a listener that implements the SyncStatusListener interface.
Pass an instance of the listener to the synchronize methods.
As the application synchronization progresses, the method defined by the SyncStatusListener interface is called and is passed an ObjectSyncStatusData object. The ObjectSyncStatusData object contains information about the MBO being synchronized, the connection to which it is related, and the current state of the synchronization process. By testing the State property of the ObjectSyncStatusData object and comparing it to the possible values in the SyncStatusState enumeration, the application can react accordingly to the state of the synchronization.
Possible uses of method include changing form elements on the client screen to show synchronization progress, such as a green image when the synchronization is in progress, a red image if the synchronization fails, and a gray image when the synchronization has completed successfully and disconnected from the server.
This is an example of SyncStatusListener implementation: