abstract class DownloadDialogFragment : DialogFragment
This is a general representation of a dialog meant to be used in collaboration with DownloadsFeature to show a dialog before a download is triggered. If SimpleDownloadDialogFragment is not flexible enough for your use case you should inherit for this class. Be mindful to call onStartDownload when you want to start the download. |
|
class DownloadManager
Handles the interactions with the AndroidDownloadManager. |
|
class DownloadsFeature : SelectionAwareSessionObserver
Feature implementation for proving download functionality for the selected session. It will subscribe to the selected session and will listening for downloads. |
|
class SimpleDownloadDialogFragment : DownloadDialogFragment
A confirmation dialog to be called before a download is triggered. Meant to be used in collaboration with DownloadsFeature |
typealias AndroidDownloadManager = DownloadManager |
|
typealias OnDownloadCompleted = (Download, Long) -> Unit |
|
typealias OnNeedToRequestPermissions = (session: Session, download: Download) -> Unit |