getForegroundInfo

open suspend override fun getForegroundInfo(): ForegroundInfo

Provides foreground information for the sync worker with default progress.

This method is called by WorkManager when the worker needs to be promoted to a foreground service. It returns notification information with zero progress.

Return

ForegroundInfo containing notification details for the foreground service