getForegroundInfo

open suspend override fun getForegroundInfo(): ForegroundInfo

Delegates foreground info retrieval to the actual Worker.

This is required for Workers that use setForeground() to display a notification while running (e.g., for long-running sync operations).

Return

The foreground info from the delegate Worker