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.
Returns true to cancel the synchronization; otherwise, false to continue synchronization.
|Discuss this page in DocCommentXchange.
Send feedback about this page using email.
|Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1|