SyncManager
Sync Manager
Types
Callback to get clean resync ghosts completion status
Sealed class representing the failure modes for suspendCleanResyncGhosts
Exception thrown by mobile sync manager
Sealed class representing the failure modes for suspendResync
Enum for sync manager state
Exception thrown when sync manager is stopped
Callback to get sync status udpates
Properties
Functions
Add to active syncs map
Check if syncs are allowed to run Throw a SyncManagerStoppedException if sync manager is stopping/stopped
Removes local copies of records that have been deleted on the server or do not match the query results on the server anymore.
Create a sync down
Create a sync up
Get details of a sync by id
Get details of a sync by name
Return true if there is a sync with the given name
Remove from active syncs map
Resume this sync manager Restart all stopped syncs if restartStoppedSyncs is true
Re-run sync but only fetch new/modified records
Run a sync
Send request after adding user-agent header that says MobileSync.
Stop the sync manager It might take a while for active syncs to actually get stopped Call isStopped() to see if syncManager is fully paused
Co-routine wrapper for cleanResyncGhosts(syncId)
Co-routine wrapper for cleanResyncGhosts(syncName)
Co-routine wrapper for reSync(syncId)
Co-routine wrapper for reSync(syncName)
Create and run a sync down that will overwrite any modified records
Create and run a sync down without a name
Create and run a sync down
Create and run a sync up without a name
Create and run a sync up