ParticipantReportRepo
class ParticipantReportRepo(httpClient: HttpClient, databaseHelper: ResourceDatabaseHelper, backgroundScope: CoroutineScope) : AbstractResourceRepo
Constructors
Link copied to clipboard
constructor(httpClient: HttpClient, databaseHelper: ResourceDatabaseHelper, backgroundScope: CoroutineScope)
Functions
Link copied to clipboard
Update the local cache with the specified Report and trigger a background call to save to Bridge server.
Link copied to clipboard
Link copied to clipboard
Get all cached reports associated with the given identifier
Link copied to clipboard
suspend fun loadRemoteReports(studyId: String, identifier: String, startTime: Instant, endTime: Instant): Boolean
Download and cache locally all Reports for the given study, identifier and within the time range.