uploadAllLocalChanges
Calling this method will block until all known local changes have been uploaded to the server or the specified timeout is hit. This will involve network access, so calling this method should only be done from a non-UI thread.
Return
true
if the data was uploaded. false
if the upload timed out before it could complete. The upload will continue in the background, even after returning false
.
Parameters
timeout
Maximum amount of time before this method should return.
Throws
if timeout
is <= 0.
if called from inside a SyncSession.ErrorHandler.
if a problem was encountered with the connection during the upload.