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.