findDownloadsToBeQueued

open fun findDownloadsToBeQueued(batchSize: Int, excludeWifiOnly: Boolean): List<DownloadRequest>

Fetches a list of download requests that not have been queued for download by the android.app.DownloadManager.

Return

a list of pending download requests.

Parameters

batchSize

the maximum number of entities to fetch.

excludeWifiOnly

true if the requests that allowed only on wifi networks must be excluded, otherwise false.