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.

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

  • data   A SyncResult containing the latest synchronization results.

Remarks

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.

Note

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

See also
Returns

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