Class CrashService.CrashUploadWorker
-
- All Implemented Interfaces:
public final class CrashService.CrashUploadWorker extends CoroutineWorker
-
-
Field Summary
Fields Modifier and Type Field Description public final static String
WORKER_CRASH_UPLOAD_DATA
public final static String
WORKER_CRASH_UPLOAD_ERROR
public final static String
WORKER_CRASH_UPLOAD_INPUT_ONLINE
private final Context
appContext
private final WorkerParameters
params
private final CoroutineDispatcher
coroutineContext
-
Constructor Summary
Constructors Constructor Description CrashService.CrashUploadWorker(Context appContext, WorkerParameters params)
-
Method Summary
Modifier and Type Method Description final Context
getAppContext()
final WorkerParameters
getParams()
ListenableWorker.Result
doWork()
-
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()
-
-
-
-