AssessmentConfigRepo
class AssessmentConfigRepo(httpClient: HttpClient, databaseHelper: ResourceDatabaseHelper, backgroundScope: CoroutineScope) : AbstractResourceRepo
Constructors
Link copied to clipboard
constructor(httpClient: HttpClient, databaseHelper: ResourceDatabaseHelper, backgroundScope: CoroutineScope)
Functions
Link copied to clipboard
Load AssessmentConfig using AssessmentInfo. This will trigger a remote call to load from Bridge server when necessary.
Link copied to clipboard
fun getAssessmentConfigAsFlow(assessmentInfo: AssessmentInfo): Flow<ResourceResult<AssessmentConfig>>
Load AssessmentConfig using AssessmentInfo. This will trigger a remote call to load from Bridge server when necessary.
Link copied to clipboard
Link copied to clipboard
Load AssessmentConfig from local cache using Assessment GUID. Using ScheduleTimelineRepo to load participant's schedule will trigger a call to loadAndCacheConfigs with all AssessmentInfos that are part of the schedule.
Link copied to clipboard
Link copied to clipboard