-
public final class PushAmpWorker extends Worker
-
-
Field Summary
Fields Modifier and Type Field Description private final Durationttlprivate BooleanthreadIsRunning
-
Constructor Summary
Constructors Constructor Description PushAmpWorker(Context context, WorkerParameters workerParams)
-
Method Summary
Modifier and Type Method Description final DurationgetTtl()final BooleangetThreadIsRunning()final UnitsetThreadIsRunning(Boolean threadIsRunning)ListenableWorker.ResultdoWork()-
Methods inherited from class androidx.work.Worker
getApplicationContext, getBackgroundExecutor, getId, getInputData, getNetwork, getRunAttemptCount, getStopReason, getTags, getTaskExecutor, getTriggeredContentAuthorities, getTriggeredContentUris, getWorkerFactory, isStopped, isUsed, onStopped, setForegroundAsync, setProgressAsync, setUsed, stop -
Methods inherited from class sdk.main.core.PushAmpWorker
getForegroundInfo, getForegroundInfoAsync, startWork -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
PushAmpWorker
PushAmpWorker(Context context, WorkerParameters workerParams)
-
-
Method Detail
-
getThreadIsRunning
final Boolean getThreadIsRunning()
-
setThreadIsRunning
final Unit setThreadIsRunning(Boolean threadIsRunning)
-
doWork
ListenableWorker.Result doWork()
-
-
-
-