Class WorkManagerScheduler.SchedulerWorker
- java.lang.Object
-
- androidx.work.ListenableWorker
-
- androidx.work.Worker
-
- com.google.android.exoplayer2.ext.workmanager.WorkManagerScheduler.SchedulerWorker
-
- Enclosing class:
- WorkManagerScheduler
public static final class WorkManagerScheduler.SchedulerWorker extends androidx.work.Worker
AWorker
that starts the target service if the requirements are met.
-
-
Constructor Summary
Constructors Constructor Description SchedulerWorker(Context context, androidx.work.WorkerParameters workerParams)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description androidx.work.ListenableWorker.Result
doWork()
-
Methods inherited from class androidx.work.Worker
getForegroundInfo, getForegroundInfoAsync, startWork
-
Methods inherited from class androidx.work.ListenableWorker
getApplicationContext, getBackgroundExecutor, getId, getInputData, getNetwork, getRunAttemptCount, getTags, getTaskExecutor, getTriggeredContentAuthorities, getTriggeredContentUris, getWorkerFactory, isStopped, isUsed, onStopped, setForegroundAsync, setProgressAsync, setUsed, stop
-
-
-
-
Constructor Detail
-
SchedulerWorker
public SchedulerWorker(Context context, androidx.work.WorkerParameters workerParams)
-
-