Class CrashService.CrashUploadWorker
-
- All Implemented Interfaces:
public final class CrashService.CrashUploadWorker extends CoroutineWorker
-
-
Field Summary
Fields Modifier and Type Field Description public final static StringWORKER_CRASH_UPLOAD_DATApublic final static StringWORKER_CRASH_UPLOAD_ERRORpublic final static StringWORKER_CRASH_UPLOAD_INPUT_ONLINEprivate final ContextappContextprivate final WorkerParametersparamsprivate final CoroutineDispatchercoroutineContext
-
Constructor Summary
Constructors Constructor Description CrashService.CrashUploadWorker(Context appContext, WorkerParameters params)
-
Method Summary
Modifier and Type Method Description final ContextgetAppContext()final WorkerParametersgetParams()ListenableWorker.ResultdoWork()-
Methods inherited from class androidx.work.CoroutineWorker
getCoroutineContext, getForegroundInfo, getForegroundInfoAsync, onStopped, setForeground, setProgress, startWork -
Methods inherited from class androidx.work.ListenableWorker
getApplicationContext, getBackgroundExecutor, getId, getInputData, getNetwork, getRunAttemptCount, getStopReason, getTags, getTaskExecutor, getTriggeredContentAuthorities, getTriggeredContentUris, getWorkerFactory, isStopped, isUsed, setForegroundAsync, setProgressAsync, setUsed, stop -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getAppContext
final Context getAppContext()
-
getParams
final WorkerParameters getParams()
-
doWork
ListenableWorker.Result doWork()
-
-
-
-