Sync Service
Functions
Link copied to clipboard
Get the SyncRequestState as a SharedFlow.
Link copied to clipboard
This method returns the current sync state.
Link copied to clipboard
This method allows to listen the sync state.
Link copied to clipboard
This methods return true if an initial sync has been processed.
Link copied to clipboard
This method returns true if the sync thread is alive, i.e. started.
Link copied to clipboard
Requires a one time background sync.
Link copied to clipboard
abstract fun startAutomaticBackgroundSync(timeOutInSeconds: Long, repeatDelayInSeconds: Long)
Content copied to clipboard
Launches infinite self rescheduling background syncs via the WorkManager.
Link copied to clipboard
Link copied to clipboard
This method returns a flow of SyncResponse. New value will be pushed through the sync thread.