SyncManager

interface SyncManager

Manager interface for controlling application-wide data synchronization.

This is typically implemented by the sync module and injected into the app layer to provide access to sync status and manual sync triggering.

See also

SyncManagerImpl

Implementation in the sync module

Interface implemented by repositories that support sync

Properties

Link copied to clipboard
abstract val isSyncing: Flow<Boolean>

Flow that emits a boolean value indicating whether the sync operation is in progress.

Functions

Link copied to clipboard
abstract fun requestSync()

Starts the sync operation.