SyncWorker
class SyncWorker @AssistedInject constructor(@Assisted context: Context, @Assisted workerParameters: WorkerParameters, ioDispatcher: CoroutineDispatcher, homeRepository: HomeRepository) : CoroutineWorker
Worker to sync data.
Parameters
context
The Context.
workerParameters
The WorkerParameters.
ioDispatcher
The CoroutineDispatcher for I/O operations.
homeRepository
The HomeRepository.
Constructors
Link copied to clipboard
@AssistedInject
Functions
Link copied to clipboard
Performs the work to sync data.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Provides the foreground information for the worker.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard