AssessmentConfigRepo

class AssessmentConfigRepo(httpClient: HttpClient, databaseHelper: ResourceDatabaseHelper, backgroundScope: CoroutineScope) : AbstractResourceRepo

Constructors

Link copied to clipboard
constructor(httpClient: HttpClient, databaseHelper: ResourceDatabaseHelper, backgroundScope: CoroutineScope)

Properties

Link copied to clipboard

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

Load AssessmentConfig using AssessmentInfo. This will trigger a remote call to load from Bridge server when necessary.

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
suspend fun loadAndCacheConfigs(assessmentInfos: List<AssessmentInfo>)