LoadTaxonomiesWorker

class LoadTaxonomiesWorker @AssistedInject constructor(    @Assisted appContext: Context,     @Assisted workerParams: WorkerParameters,     taxonomiesRepository: TaxonomiesRepository) : CoroutineWorker

Parameters

appContext

The application Context

workerParams

Parameters to setup the internal state of this worker

Constructors

Link copied to clipboard
@AssistedInject
fun LoadTaxonomiesWorker(    @Assisted appContext: Context,     @Assisted workerParams: WorkerParameters,     taxonomiesRepository: TaxonomiesRepository)

Functions

Link copied to clipboard
open suspend override fun doWork(): ListenableWorker.Result
Link copied to clipboard
fun getApplicationContext(): Context
Link copied to clipboard
open fun getBackgroundExecutor(): Executor
Link copied to clipboard
open suspend fun getForegroundInfo(): ForegroundInfo
Link copied to clipboard
override fun getForegroundInfoAsync(): ListenableFuture<ForegroundInfo>
Link copied to clipboard
fun getId(): UUID
Link copied to clipboard
fun getInputData(): Data
Link copied to clipboard
@RequiresApi(value = 28)
fun getNetwork(): Network?
Link copied to clipboard
@IntRange(from = 0)
fun getRunAttemptCount(): Int
Link copied to clipboard
fun getTags(): MutableSet<String>
Link copied to clipboard
open fun getTaskExecutor(): TaskExecutor
Link copied to clipboard
@RequiresApi(value = 24)
fun getTriggeredContentAuthorities(): MutableList<String>
Link copied to clipboard
@RequiresApi(value = 24)
fun getTriggeredContentUris(): MutableList<Uri>
Link copied to clipboard
open fun getWorkerFactory(): WorkerFactory
Link copied to clipboard
open fun isRunInForeground(): Boolean
Link copied to clipboard
fun isStopped(): Boolean
Link copied to clipboard
fun isUsed(): Boolean
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
open fun setRunInForeground(runInForeground: Boolean)
Link copied to clipboard
fun setUsed()
Link copied to clipboard
override fun startWork(): ListenableFuture<ListenableWorker.Result>
Link copied to clipboard
fun stop()

Properties

Link copied to clipboard
open val coroutineContext: CoroutineDispatcher