Class ShadowDownloadManager

    • Constructor Detail

      • ShadowDownloadManager

        public ShadowDownloadManager()
    • Method Detail

      • remove

        @Implementation
        protected int remove​(long... ids)
      • addCompletedDownload

        @Implementation
        protected long addCompletedDownload​(String title,
                                            String description,
                                            boolean isMediaScannerScannable,
                                            String mimeType,
                                            String path,
                                            long length,
                                            boolean showNotification)
      • addCompletedDownload

        @Implementation(minSdk=24)
        protected long addCompletedDownload​(String title,
                                            String description,
                                            boolean isMediaScannerScannable,
                                            String mimeType,
                                            String path,
                                            long length,
                                            boolean showNotification,
                                            Uri uri,
                                            Uri referrer)
      • getRequestCount

        public int getRequestCount()
      • getCompletedDownloadsCount

        public int getCompletedDownloadsCount()