MeasureReportWorker

class MeasureReportWorker @AssistedInject constructor(@Assisted val appContext: Context, @Assisted workerParams: WorkerParameters, val defaultRepository: DefaultRepository, val configurationRegistry: ConfigurationRegistry, val dispatcherProvider: DefaultDispatcherProvider, val fhirOperator: FhirOperator, val fhirEngine: FhirEngine, knowledgeManager: KnowledgeManager, val workManager: WorkManager) : CoroutineWorker

Constructors

Link copied to clipboard
@AssistedInject
constructor(@Assisted appContext: Context, @Assisted workerParams: WorkerParameters, defaultRepository: DefaultRepository, configurationRegistry: ConfigurationRegistry, dispatcherProvider: DefaultDispatcherProvider, fhirOperator: FhirOperator, fhirEngine: FhirEngine, knowledgeManager: KnowledgeManager, workManager: WorkManager)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
open val coroutineContext: CoroutineDispatcher
Link copied to clipboard
Link copied to clipboard
val fhirEngine: FhirEngine
Link copied to clipboard
val fhirOperator: FhirOperator
Link copied to clipboard

Functions

Link copied to clipboard
open suspend override fun doWork(): ListenableWorker.Result
Link copied to clipboard
open suspend fun getForegroundInfo(): ForegroundInfo
Link copied to clipboard
override fun getForegroundInfoAsync(): ListenableFuture<ForegroundInfo>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun getMonthRangeList(campaignRegisterDate: String): List<Date>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@RequiresApi(value = 31)
fun getStopReason(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
override fun onStopped()
Link copied to clipboard
suspend fun setForeground(foregroundInfo: ForegroundInfo)
Link copied to clipboard
fun setForegroundAsync(@NonNull foregroundInfo: ForegroundInfo): ListenableFuture<Void>
Link copied to clipboard
suspend fun setProgress(data: Data)
Link copied to clipboard
open fun setProgressAsync(@NonNull data: Data): ListenableFuture<Void>
Link copied to clipboard
Link copied to clipboard
override fun startWork(): ListenableFuture<ListenableWorker.Result>
Link copied to clipboard