DownloadsFeature(applicationContext: Context, onNeedToRequestPermissions: OnNeedToRequestPermissions = { _, _ -> }, onDownloadCompleted: OnDownloadCompleted = { _, _ -> }, downloadManager: DownloadManager = DownloadManager(applicationContext, onDownloadCompleted), sessionManager: SessionManager, fragmentManager: FragmentManager? = null, dialog: DownloadDialogFragment = SimpleDownloadDialogFragment.newInstance())
Feature implementation for proving download functionality for the selected session. It will subscribe to the selected session and will listening for downloads.