updateDownloadsAutoPurgeOnExpiry
On demand enables or disables (toggles) the task to automatically purge all the downloads which expired. Note that the initial value to enable/disable this task is passed as DownloadProperties.downloadsAutoPurgeOnExpiry during DownloadManager instance creation.
Parameters
autoPurgeOnExpiry
true
to enable the task, false
to disable the task.