doWork

open override fun doWork(): ListenableWorker.Result

Serialize agent runs and expose the active thread for WorkManager cancellation. Usage: WorkManager invokes this callback for the SDK’s scheduled work.