Resource Params Based Download Work Manager
class ResourceParamsBasedDownloadWorkManager(syncParams: ResourceSearchParams, val context: ResourceParamsBasedDownloadWorkManager.TimestampContext) : DownloadWorkManager
DownloadWorkManager implementation based on the provided ResourceSearchParams to generate Resource search queries and parse Bundle.BundleType.SEARCHSET type Bundle. This implementation takes a DFS approach and downloads all available resources for a particular ResourceType before moving on to the next ResourceType.
Constructors
Link copied to clipboard
constructor(syncParams: ResourceSearchParams, context: ResourceParamsBasedDownloadWorkManager.TimestampContext)
Types
Link copied to clipboard
interface TimestampContext
Functions
Link copied to clipboard
Returns the next DownloadRequest to be executed, or null
if there are no more requests.
Link copied to clipboard
Returns the map of resourceType and URL for summary of total count for each download request
Link copied to clipboard
Processes the response received from the FHIR server.