Package 

Class AdClickTrackingWorker


  • 
    public final class AdClickTrackingWorker
    extends CoroutineWorker
                        

    WorkManager worker for persistent ad click tracking.

    This worker handles ad click tracking requests that need to survive app restarts and network failures. It implements exponential backoff retry logic and ensures ad clicks are properly tracked for revenue analytics.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final CoroutineDispatcher coroutineContext
    • Method Summary

      Modifier and Type Method Description
      CoroutineDispatcher getCoroutineContext()
      ListenableWorker.Result doWork()
      • 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.AdClickTrackingWorker

        getForegroundInfo, getForegroundInfoAsync, onStopped, setForeground, setProgress, startWork
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait