-
public final class VideoActionTrackingWorker extends CoroutineWorker
WorkManager worker for persistent video action tracking.
This worker handles video action tracking requests (mute/unmute, fullscreen, etc.) that need to survive app restarts and network failures. It implements exponential backoff retry logic and ensures video actions are properly tracked for analytics.
-
-
Field Summary
Fields Modifier and Type Field Description private final CoroutineDispatchercoroutineContext
-
Constructor Summary
Constructors Constructor Description VideoActionTrackingWorker(Context context, WorkerParameters workerParams)
-
Method Summary
Modifier and Type Method Description CoroutineDispatchergetCoroutineContext()ListenableWorker.ResultdoWork()-
Methods inherited from class androidx.work.CoroutineWorker
getApplicationContext, getBackgroundExecutor, getId, getInputData, getNetwork, getRunAttemptCount, getStopReason, getTags, getTaskExecutor, getTriggeredContentAuthorities, getTriggeredContentUris, getWorkerFactory, isStopped, isUsed, setForegroundAsync, setProgressAsync, setUsed, stop -
Methods inherited from class com.ai.osmos.tracking.tracker.workers.VideoActionTrackingWorker
getForegroundInfo, getForegroundInfoAsync, onStopped, setForeground, setProgress, startWork -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
VideoActionTrackingWorker
VideoActionTrackingWorker(Context context, WorkerParameters workerParams)
-
-
Method Detail
-
getCoroutineContext
CoroutineDispatcher getCoroutineContext()
-
doWork
ListenableWorker.Result doWork()
-
-
-
-