resume

suspend fun resume(useBackground: Boolean = false)

Resumes a previously paused or failed download.

Parameters

useBackground

If true, the download will resume in a background service (via WorkManager).