Download Work Manager
interface DownloadWorkManager
Content copied to clipboard
Manager that generates the FHIR requests and handles the FHIR responses of a download job.
TODO(jingtang10): What happens after the end of a download job. Should a new download work manager be created or should there be an API to restart a new download job.
Functions
getNextRequestUrl
Link copied to clipboard
abstract suspend fun getNextRequestUrl(context: SyncDownloadContext): String?
Content copied to clipboard
processResponse
Link copied to clipboard
abstract suspend fun processResponse(response: Resource): Collection<Resource>
Content copied to clipboard
Inheritors
ResourceParamsBasedDownloadWorkManager
Link copied to clipboard
Sources
androidJvm source
Link copied to clipboard