DownloadManager

The Download Manager protocol

  • The delegate to get callbacks on download tasks.

  • To determine the Download manager is restored all the download tasks.

  • Determines whether downloads should be automatically purged after their expiry.

    When set to true, expired downloads will be automatically removed from storage without requiring manual intervention. This helps in managing storage by clearing out unusable content. The default value is false

  • All download tasks.

  • Download manager has to restore all previous inprogress task and unused memory clear operation are done with this api

  • API to purge a download task.

  • API to suspend all running download tasks.