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

SQL Anywhere 11.0.1 (Français) » UltraLiteJ » UltraLiteJ Reference » UltraLiteJ API reference » SyncObserver interface


syncProgress method

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