FhirSyncWorker

abstract class FhirSyncWorker(appContext: Context, workerParams: WorkerParameters) : CoroutineWorker

A WorkManager Worker that handles periodic sync.

Constructors

FhirSyncWorker
Link copied to clipboard
fun FhirSyncWorker(appContext: Context, workerParams: WorkerParameters)

Functions

doWork
Link copied to clipboard
open suspend override fun doWork(): ListenableWorker.Result
getConflictResolver
Link copied to clipboard
abstract fun getConflictResolver(): ConflictResolver
getDownloadWorkManager
Link copied to clipboard
abstract fun getDownloadWorkManager(): DownloadWorkManager
getFhirEngine
Link copied to clipboard
abstract fun getFhirEngine(): FhirEngine
getUploadConfiguration
Link copied to clipboard
open fun getUploadConfiguration(): UploadConfiguration
Configuration defining the max upload Bundle size (in terms to number of resources in a Bundle) and optionally defining the order of Resources.

Sources

androidJvm source
Link copied to clipboard