Class WorkManagerScheduler.SchedulerWorker

  • Enclosing class:

    public static final class WorkManagerScheduler.SchedulerWorker
    A Worker that starts the target service if the requirements are met.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class
    • Constructor Summary

      Constructor Description
      SchedulerWorker​(Context context, workerParams)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description doWork()  
      • Methods inherited from class

        getForegroundInfo, getForegroundInfoAsync, startWork
      • Methods inherited from class

        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,
    • Method Detail

      • doWork

        public doWork()
        Specified by:
        doWork in class