Sync

object Sync

Properties

Link copied to clipboard
val gson: Gson

Functions

Link copied to clipboard

Gets the timestamp of the last sync job.

Link copied to clipboard
inline fun <W : FhirSyncWorker> oneTimeSync(context: Context, retryConfiguration: RetryConfiguration? = defaultRetryConfiguration): Flow<CurrentSyncJobStatus>

Starts a one time sync job based on FhirSyncWorker.

Link copied to clipboard
@ExperimentalCoroutinesApi
inline fun <W : FhirSyncWorker> periodicSync(context: Context, periodicSyncConfiguration: PeriodicSyncConfiguration): Flow<PeriodicSyncJobStatus>

Starts a periodic sync job based on FhirSyncWorker.