Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.0 » UltraLiteJ » UltraLiteJ Reference » UltraLiteJ API reference » SyncObserver interface


syncProgress function

Informs the user of progress and is invoked during synchronization.

boolean SyncObserver.syncProgress(
  int state,
  SyncResult data
  • state   One of the SyncOberver.States constants, representing the current state of the synchronization.

  • data   A SyncResult containing the latest synchronization results.


The various states, which are signaled as packets, are received and sent. Since multiple tables may be uploaded or downloaded in a single packet, syncProgress calls for any given synchronization may skip a number of states.


With the exception of the SyncResult class methods, no other UltraLiteJ API methods should be invoked during a syncProgress call.

See also

Returns true to cancel the synchronization; otherwise, false to continue synchronization.